Quote:
Originally Posted by blackmonsters
I see it all the time and I'm sure you do too.
But when you post about it people still don't listen.
|
In this industry?
CONSTANTLY.
Are there good PHP programmers here? Yes. Are there many? Fuck no. There are guys using mysql() in major products here, not even mysqli() or PDO. It's sickening! No unit testing, no dependency injection, no discernible design patterns, no standardization (PSR, Zend, or otherwise!), no autoloading, no name spacing .. and people HIRE them!
Another weird thing in PHP that I run into sometimes:
$number = 012;
echo $number / 4;
What's that evaluate to? 2.5. Numbers preceded by 0 are treated as octal. 012 in octal is decimal 10. Someone who hasn't run into it would answer that it'd be 3, and they'd be wrong.