NYCPHP Meetup

NYPHP.org

[nycphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

Elliotte Harold erharold at gmail.com
Sat Jan 12 08:50:16 EST 2008


Anthony Wlodarski wrote:
> Zesty Ping never learned === apparently.  This one's for you Zesty:
> 
> http://www.php.net/manual/en/language.operators.comparison.php
> 
> "===" introduced type facing in php4 so it is a moot point or just poor reading skills on some developers parts if they missed this essential comparison operator...
> 

That's a bug, not a feature. Adding multiple equality operators makes 
the whole language still more complex and confusing and full of special 
cases one has to remember. It adds yet another way for programmers to 
enbug their programs. Adding an operator with correct semantics is only 
a solution if you remove the broken one at the same time.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/



More information about the talk mailing list