Re: private $foo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anthony, Tedd,

you now grok the property overloading functionality of php5?
also the bug mentioned by M.Sokolewicz should be fixed in the latest
versions (can't remember exactly which one)

----------

Foo, Bar & Qux are used all over the place in IT in the same way
'Person A' and 'Person B' might be used when talking about marketing
demographics theory.

they are shortcuts to avoid having to think up realworld examples,
why would we want to do that?

1. real world examples are full of edge cases
2. real world examples are usually complicate the underlying theory
3. real world examples often sidetrack the 'learnee's attention away from the
core issue.
4. good real world examples are difficult to come up with
5. we are programmers, shortcuts is a way of life :-)

with regard to 'Christian Wenz' comment about imagination, try this
(imagination and creativity are bedfellows):

http://www.well.com/~jct/ugbio/ugbconv.htm

tedd wrote:
I am always using 'foo' in conversation and finally said it enough that
the CEO used it in a meeting the other day. Setter functions are cool.


That's interesting -- not meaning any disrespect, and this is just an opinion -- but in the newly published "PHP Phrasebook" by Christian Wenz (an excellent book btw), he says:

"Another phrase I promise you will not find in this book is anything that looks like foo, bar, baz, or any other proofs of very little imagination."

While you may not agree with his statement, but I personally don't like the use of terms like those for I find them confusing. I would much rather like to see real world examples. From there I can make the translation to what I want. But using terms like $foo just adds another level of abstraction for me understand. But, I'm also simple.

<only-read-this-if-you-have-seen-the-malibu-commercial>
not to worry - growing up generally entails becoming a 'complicated
little man'  ;-)
</only-read-this-if-you-have-seen-the-malibu-commercial>



tedd

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux