3 ms·
"Real programmers don't use PHP" is reminiscent of "Real programmers don't use Pascal". Or http://xkcd.com/378/ http://xkcd.com/378/
by sarciszewski 12y ago
"Real programmers don't use PHP" is reminiscent of "Real programmers don't use Pascal". Or http://xkcd.com/378/ http://xkcd.com/378/
- cageface 12y agoListening to PHP apologists defend PHP is like listening to real estate developers boast about all the houses they've built and sold despite using cut rate materials and labor. Bully for you if you're getting away with it but I certainly wouldn't boast about it.
- sarciszewski 12y agoRemind me again which percentage of websites runs PHP. (Hint: it's the majority.) But beyond popularity, there have been a lot of nice improvements over the past few versions (PHP 5.6 is definitely better than PHP 5.2) with even more to come in PHP 7. To boot: * register_globals is finally dead * magic_quotes, as well * PDO does a lot of the work cleaning up SQLi (I wrote a class that does even more) * hash_equals() makes securing OAuth implementations against HMAC comparison timing attacks a trivial undertaking * session_id() uses /dev/urandom * opcache (5.5+) helps to make PHP app more performant * [ $array, $syntax, $that, $doesnt, $suck ] * You can now use \Proper\Namespaces; and autoload class dependencies! Not to mention some of the community innovations: * Composer, while still trapped in curl | php hell (I'm working to fix this), makes dependency management simple so you can get on with your day. * Twig brings Django-esque templates to PHP-land, which is _awesome_ if you need to work with a designer who is only used to working with Django and its derivatives. * HTMLPurifier is probably the sexiest thing the PHP community offers that I have not seen produced in another language (the HTMLPurifier port to Obj-C notwithstanding) If one were to judge PHP 5.6 by a PHP 4.3 understanding, they would almost certainly be wrong. PHP 7 allows us the opportunity to break BC. If you dislike something about PHP 5.6, let it be known so it can be fixed in 7. http://news.php.net/php.internals internals@lists.php.net Also, the irony of a thread whose title is to not denigrate what beginners are learning has turned into "let's bash PHP". Y'know, because no developers are currently learning PHP and might one day read this discussion.