> He doesn't like the lack of strict mode, but complains that E_ALL tells him too much; maybe it's telling him too much because he's not writing things correctly, just like 'use strict' would.
"use strict" makes compilation errors. E_ALL only does runtime errors. Both are useful, and having one is no excuse for missing the other.
Python has properties to abstract away function calls.
Re:What are the crawling horrors of PHP?
by nuclear_eclipse on Tuesday July 13, 2010 @08:20AM
(#1511087)
He doesn't like the lack of strict mode, but complains that E_ALL tells him too much; maybe it's telling him too much because he's not writing things correctly, just like 'use strict' would.
He complains that you need to remember the parenthesis for a function call, but short of Ruby, I can't think of any other "normal" language that doesn't. C/C++/C#, Java, Python...
He complains that a whole bunch of things are considered false, but when using the === operator, they aren't.
Always use <?php ?>, and your code will always work, everywhere.
Just because people abuse include() doesn't make it a flaw of the language. Strawman ftw.
Plugins written for one framework won't work in another. Gasp! News at 11...