4 ms·
The article lost me at quotes like this one (both for content and persons position when talking enterprise) -- “Why go to Facebook and do PHP when you can go to
by jmspring 13y ago
The article lost me at quotes like this one (both for content and persons position when talking enterprise) -- “Why go to Facebook and do PHP when you can go to PayPal and do Node.js”
- Bill Scott – Dir UX PayPal
- fennecfoxen 13y agoClearly you haven't suffered the misfortune of having to program in PHP recently. Alternatively, you may have Stockholm syndrome. (I mean, Node's okay, not my favorite, but PHP is still as much "training wheels without the bike" as it ever was.)
- drakaal 13y agoHip Hop, and "PHP" don't really share that much. Wordpress templating is what a lot of people think PHP is like. Zend Framework too. But saying PHP and Hip Hop are the same is kind of like saying Shakespeare and Flavor Flav both speak English. Sure they both do a lot of Rhyming, but you'd have a hard time getting the two to understand one another. (I don't like PHP particularly, but calling what FB does "php" is inaccurate)
- elbear 13y agoMy understanding is that developers write PHP. To what interpreter that code is passed is another matter.
- drakaal 13y agoYour understanding is limited. PHP has the ability to be written "inline" basically all of PHP acts like a templating engine. That's not how FB makes its developers write. That's a big difference. Also HipHop supports a subset of PHP's functions, which actually causes you to write better code because you can't lean on things like "eval" and dynamic defines. This makes your code better. There is a lot of "this kind of stuff" that makes PHP very different from HipHop.
- elbear 13y agoWhether they write PHP mixed with HTML is another thing. The point is that they write PHP and not some other language, which is what I was saying. HipHop has near full support for PHP 5.4, including the "create_function" and "eval" functions.[1] Yes, PHP and HipHop are different, because one is a language and the other is a virtual machine. [1]http://en.wikipedia.org/wiki/HipHop_for_PHP http://en.wikipedia.org/wiki/HipHop_for_PHP
- arbuge 13y agoMisfortune because you have to code in PHP? Seems like a bit of an exaggeration to me...
- fennecfoxen 13y ago#firstworldproblems
- nivla 13y agoIs "Stockholm Syndrome" becoming the goto plug reply to anyone who doesn't agree with the hivemind? I have been noticing it a lot lately. >Clearly you haven't suffered the misfortune of having to program in PHP recently. If anything PHP has become a lot better than what it was half a decade ago. Clearly you haven't used it recently. I find amazing that despite PHP being popular than all the other mainstream web languages combined, comments such as "Does anyone still use PHP?", "PHP is so bad no one ever uses it." show up. Its akin to close your eyes and what you don't like goes away. I am not rooting for PHP, but comments like these are silly and adds no value to discussion.
- jmspring 13y agoIn the past year, I've touched on Erlang, C/C++, C#, Python, Javascript (NodeJS) and PHP. I take issue with a quote from a Director of UX being used to back up how NodeJS is taking over the Enterprise.
- ams6110 13y agoMy thought at that was "great, in 12-18 months PayPal will have a bunch of devs saying "why stay here and do Node.js when I can go to company Foo and do <current trendy language du-jour>."