PHP 5.4.0 released
Posted Mar 2, 2012 22:22 UTC (Fri) by khim
In reply to: PHP 5.4.0 released
Parent article: PHP 5.4.0 released
It was discussed many times. PHP is completely build around violation of Rule of Repair - that's what makes it “suitable for non-developers” and that some thing also means it's turing tarpit.
It's much easier to create half-working prototype in PHP, but to create production-quality code you need not only fight the task at hand but you need to somehow curb this insane tendency to “help you”… by adding security holes to perfectly valid algorithm.
Think about it: how many things may fail if the result of sort() is not, in fact, sorted? Regular expressions are pretty fundamental - yet PHP screws them, too. And so on.
to post comments)