Page 1 of 1
Smartest question EVER
Posted: Tue Jun 26, 2007 1:20 pm
by violet
Um, I was wondering what this means:
I've seen
and I am not quite sure what
means...
Posted: Tue Jun 26, 2007 1:34 pm
by superdezign
I forgot the name, but it's what you use to access members of a object.
Posted: Tue Jun 26, 2007 1:52 pm
by Luke
it's called an object dereferencer I believe (thanks feyd!)
http://us.php.net/manual/en/language.oop5.php
Posted: Tue Jun 26, 2007 5:19 pm
by feyd
Good grief, this question has been asked like four times in the last week.
Posted: Tue Jun 26, 2007 5:35 pm
by superdezign
feyd wrote:Good grief, this question has been asked like four times in the last week.
Hehe, I think I asked once before.
Posted: Tue Jun 26, 2007 6:02 pm
by John Cartwright
superdezign wrote:feyd wrote:Good grief, this question has been asked like four times in the last week.
Hehe, I think I asked once before.
I think everyone has at one point or another

Posted: Tue Jun 26, 2007 6:03 pm
by Luke
it's a difficult thing to search for, you have to admit
Posted: Tue Jun 26, 2007 6:12 pm
by feyd
The Ninja Space Goat wrote:it's a difficult thing to search for, you have to admit
True, it's unfortunate, although with a mild amount of playing with PHP, you can get it to tell you what it is:
Code: Select all
[feyd@home]>php4 -n -r "->"
Parse error: parse error, unexpected T_OBJECT_OPERATOR in Command line code on line 1
Posted: Tue Jun 26, 2007 6:39 pm
by Ambush Commander
It's the idea of instant gratification. Spend ten minutes futzing around with PHP and possibly realizing that those constants actually mean something and then going to check it out, or posting on DevNetwork and getting an answer in a minute with no work at all.
Posted: Tue Jun 26, 2007 7:09 pm
by superdezign
Ambush Commander wrote:It's the idea of instant gratification. Spend ten minutes futzing around with PHP and possibly realizing that those constants actually mean something and then going to check it out, or posting on DevNetwork and getting an answer in a minute with no work at all.
That sums up the majority of the posts we get here.
Then, they quickly find that we start asking them questions rather than answering them.
Posted: Tue Jun 26, 2007 8:15 pm
by Z3RO21
superdezign wrote:Then, they quickly find that we start asking them questions rather than answering them.
Hopefully they realize it is to their benefit that we work with them to solve a problem rather then just bluntly giving them the answer.
Posted: Tue Jun 26, 2007 10:48 pm
by superdezign
Z3RO21 wrote:superdezign wrote:Then, they quickly find that we start asking them questions rather than answering them.
Hopefully they realize it is to their benefit that we work with them to solve a problem rather then just bluntly giving them the answer.
I can think of a select few who don't.

Posted: Tue Jun 26, 2007 11:21 pm
by alex.barylski
feyd wrote:Good grief, this question has been asked like four times in the last week.
I have not heard anyone say or use the term "good Grief" in a looooong time...
Maybe Garfield or an old Batman episode, with Burt Ward or Adam West...
Pow...Poof...Bang...Bop!!!

Posted: Wed Jun 27, 2007 5:32 am
by idevlin
superdezign wrote:Then, they quickly find that we start asking them questions rather than answering them.
As a newbie here, I was going to say, the best way for said people to learn is to ask them questions. That way they formalise logically in their head what they're trying to achieve and in doing so quite often think "hang on..." and figure it out for themselves.
How many times have you done that at work when trying to explain a problem to a colleague and they don't even say anything and you realise that you've done something daft?
I also find myself looking at something for ages, having no idea what's up, posting the problem on some forums or sending an email to my team and then figuring out what's wrong 2 seconds after clicking "post" or "send"

Posted: Wed Jun 27, 2007 5:45 am
by CoderGoblin
Some time back I was performing training for a particular system. Before the training I had some time spare. As a result I was able to create a new training course rather than use the "company official" one. Ok not always a good idea but the original course was designed to be run be "trainers" rather than a developer. The main difference between my course and the original was the fact that rather than simple "do this to create this" exercises it was more along the lines of create this and you can find out how to get it to work by doing this.. The whole scheme of the training was not only on the simple steps to create something but how to find out the answers when it doesn't work. In my opinion this "finding of information" is probably the most important thing in programming and the Web is an ideal place to look for PHP be it forums or articles. The trouble is always finding out how to get the information and what "question" you need to ask. Forums are particularly useful as they enable human interaction rather than trying to guess "key words" if you don't know the name of the thing you are asking for.