how would you say this in plain english?
Moderator: General Moderators
how would you say this in plain english?
$this->something ?
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Feyd is right, but I think most programmers don't even add the "property" part in their head when they program -- it's just "something." That's because the class is namespaced out of the rest of the application, so there is no reason to keep referring to the class name when you are coding withiin the class' namespace.
I also think when referring to properties, for example $user->something you would just say "user something" most of the time. Same with methods, for $user->something() you would say something like "call user something"
It is interesting because the manual, by analogy, refers to "->" as "the pathname separator", but to the internals group it is called "the object operator" which I think is the perferred name.
I also think when referring to properties, for example $user->something you would just say "user something" most of the time. Same with methods, for $user->something() you would say something like "call user something"
It is interesting because the manual, by analogy, refers to "->" as "the pathname separator", but to the internals group it is called "the object operator" which I think is the perferred name.
(#10850)
no no no...I mean how would you say that as if you're spelling it out.
ex:
http://www.blah.com = double-u double-u double-u dot blah dot com
how would you say:
$this->something
this arrow something?
ex:
http://www.blah.com = double-u double-u double-u dot blah dot com
how would you say:
$this->something
this arrow something?
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia