Ron Korving wrote:
Like you, I don't see why a 'readable' keyword should make things any more
complicated for beginners, because indeed, it is optional and beginners will
simply not use it. To me, this only shows the strength of PHP: suitable for
beginners and suitable for the enterprise.
Learning the language is getting more and more difficult. Defining a
variable used to be "var" (or no declaration at all). Then visibility
was added (and choosing the right visibility is trickier not only for
beginners than you might think), as was "static" and "final". Your
argument that all the new constructs can be ignored if not needed has
two flaws:
a) The language reference gets bloated
b) Learning by example (one of the selling points of PHP originally
IMHO) is made harder than necessary
"Suitable for the enterprise" to me is a bit like "Linux, ready for the
desktop": It's missing the point by trying to fit everybody's needs.
What happened to the KISS principle and Unix philosophy of doing one
thing and doing it right?
Just my two cents,
- Chris
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php