3 ms·
> I am baffled as to why you'd build your castle atop a crumbling foundation. > I have wondered why FB didn't use a proper language with proper typing to begin
by itafroma 13y ago
> I am baffled as to why you'd build your castle atop a crumbling foundation.
> I have wondered why FB didn't use a proper language with proper typing to begin with.
I would suggest watching Keith Adams's talk, "Taking PHP Seriously": http://www.infoq.com/presentations/php-history http://www.infoq.com/presentations/php-history
He goes through why Facebook uses PHP and decided to build upon it to create Hack. I highly recommend watching the whole thing, but the main three things he points to are:
1. Frictionless programmer workflow with a short feedback cycle
2. All PHP requests start out with the same consistent state by default
3. Rigid style of concurrency
- eevee 13y agoWhich is nonsense, because: 1. I have never seen a framework that didn't go to great lengths to update to new changes quickly in development 2. Which means you lose resources between requests, unless you stuff them into the interpreter/httpd itself. And anyway this is only a problem for PHP, where by default everything runs in the top-level namespace, versus in separate functions. 3. That's a funny way to spin "no concurrency", but you can get that in any language by just not deploying it threaded.
- m3mnoch 13y agoblink blink um. have you used java?
- eevee 13y agonope
- Terr_ 13y agoWhat, you mean with "hot deployment" of your changes?
- eloisant 13y agoWell, even in Play Framework 1.0 in 2009 there was hot reloading. Edit a file, refresh your browser => it's there.
- Moru 13y agoOn the Atari ST you didn't even have to hit reload, the webpage reloaded automatically as soon as you saved your file. No need to alt-tab even, just keep webpage open next to your editor. Now get off my lawn.