Live data from Hacker News

Hack: a new programming language for HHVM

code.facebook.com

421–422 of 422 posts

Re: Hack: a new programming language for HHVM

#421

Earlier quoted context omitted.

Given a programming task, it will be written faster, easier, and in a more maintainable and less bug-prone fashion if it is not PHP. The opposite opinion is basically indefensible. Sure, you can still dig a trench with a spoon (and if you have enough money to wield a bunch of workers with a spoon), even if a shovel would do a better job. Let's begin. 1) PHP autocraptastically converts strings that look like numbers,…

I think most of you guys are missing a crucial thing here -- how decisions get made. Facebook had two options: 1.) Rewrite all the PHP code in Java/Ruby/C++/whatever 2.) Write HHVM/Hack/etc to transparently convert the existing PHP code. Option #2 ended up getting a lot of publicity for the engineers. If they chose option #1, not only is it a lot of hard boring and possibly error prone work, there is no chance for an…

You're an idiot.

Re: Hack: a new programming language for HHVM

#422

Earlier quoted context omitted.

> Using PHP to begin with was a bad technical decision. Failing to establish a reasonable migration strategy was a bad business decision likely rooted in bad engineering management that fell out of starting with bad technical decisions. Facebook is a ten year old company with a market capitalization of $170 billion, so "bad" is probably not the most accurate word to describe their technical and business decisions.

> Facebook is a ten year old company with a market capitalization of $170 billion, so "bad" is probably not the most accurate word to describe their technical and business decisions. How does that follow, exactly? They haven't failed, so any inefficient or sub-optimal decisions were the correct decisions?

I guess we should consider your decisions as the "optimal and correct decisions"? Are you a billionaire too?
Post reply on HN