rusrs

http://rusrs.com/item/187http://rusrs.com/item/242
On PHP's Complexity You've really helped
The problem with not being a well-thought-out language is that you get into many of these situations where your mental model of how things should work clashes with what PHP actually does. You've really helped me unasretdnd the issues. Thanks.
The problem with not being a well-thought-out language is that you get into many of these situations where your mental model of how things should work clashes with what PHP actually does.Having to complexify your mental model to account for these things leads to cognitive fatigue/stress.This is in short why many excellent people leave PHP. It's not because OO or FP is sexy, it's because they are tired of carrying this burden. It is an ongoing cost that other languages do not share.It is of the utmost importance that a language behave exactly as you would expect it to. This is why, for example, most modern languages treat "nil" and "false" as the only two "false-like" values (and not zero, etc.). There's a vast mental-model weight lifted there.The fact that PHP doesn't even entirely pass its own test suite... that's the big red flag for me. That means it doesn't even conform to ITS OWN expectations.Humans create enough bugs to fix on their own- Do you really want to do work in a language where the LANGUAGE ITSELF is KNOWN to be buggy?[cm2fcl3](http://www.reddit.com/r/lolphp/comments/2ma8hs/please_stay_polite_with_other_developers_please/cm2fcl3) You've really helped me unasretdnd the issues. Thanks.
http://rusrs.com/item/187http://rusrs.com/item/242