I wish they wouldn't pick words like this for programming language names. It makes it hard when people are searching for code samples later on in Google. Go suffers the same problem.
Facebook hacks out PHP alternative
The big “HACK” signs reputed to adorn the walls of Facebook offices aren't just a command from His Royal Zuckness: The Social Network also uses a programming language called “Hack” and has just given it to the world. Facebook describes Hack as “a programming language we developed for HHVM that interoperates seamlessly with PHP …
-
-
-
Saturday 22nd March 2014 05:32 GMT jake
@AC "17 hours ago (whatever '17 hours ago' means, ElReg)" Was:Re: Question.
Hire one skilled programmer and fire a dozen or so so-called "web programmers". Far better cash-flow, after benefits & other overhead.
Note that most experienced programmers grok PHP, ruby, et alia ... and know when that kind of option isn't exactly the most efficient way to run a
railroadwebsite.
-
-
-
-
Friday 21st March 2014 09:37 GMT Anonymous Coward
Re: Good
Improving on PHP is not that difficult. Almost anything is better than PHP.
Don't take me wrong, the vast amount of libraries available somewhat compensate for its ugliness and "anything goes" attitude. But its basic flaws, which is what hack tries to fix, are horrible sins in large scale software development.
Yet, when you have a huge codebase supporting a billion dollar business, you can't easily migrate away from it, so your best and effectively only choice is to evolve the language.
-
Friday 21st March 2014 13:34 GMT batfastad
Re: Good
I honestly can't think of too many alternative languages that are as mature and would be able to operate at the same scale on the same hardware investment though.
ASP.NET? Java/Scala?
Python and Ruby possibly but nowhere near as battle tested at scale as PHP. Especially since with HipHop it's effectively just running C/C++. Good luck to them I say for pushing the limits and feeding that back.
Perl, they could use Perl.
-
-
-
Friday 21st March 2014 10:42 GMT Anonymous Coward
Hopefully I can now point to the description of Hack - adding in many of things that statically typed languages had - the next time some idiot decides to try and force a PHP applicaiton on me. At a previous company we got a consultant in to produce a web application for us, and we stipulated it be written in Java and use our existing data access layer. The consultants developer came in, and I set up his laptop with a working copy of our code and even walked him through the development of a representative chunk of functionality from data access to user interface. Several months later, a zip file of PHP was delivered that used its own data store (MongoDB). When challenged on why the f*ckwit had done this the developer claimed PHP was better than Java since Facebook use it. Worst part is that my boss still paid the consultant (turns out they were friends) despite the consultant clearly being in breach of contract. In the end we didn't even deploy the PHP app, which would have been a maintenance nightmare since we had no way of updating the MongoDB database (the developer had created it from the PostgreSQL instance I had put on his laptop and never provided us with whatever he'd used to populate MongoDB).
-
Friday 21st March 2014 13:24 GMT myhandler
re: " At a previous company we got a consultant in to produce a web application for us, and we stipulated it be written in Java and use our existing data access layer."
I'm afraid its 100% down to bad management on you or your bosses part, and a fail from the guy employed to do the job - but it's no fault of PHP whatsoever.
-
Friday 21st March 2014 13:28 GMT batfastad
Doesn't sound like PHP's fault to me. Sounds like you should actually be angry at your boss for buying a crap software developer/crap human.
The problem with PHP is that most developers started off as website designers who then followed some Wordpress plugin tutorials. It's easy to weed out the flakes.
-
-
This post has been deleted by its author
-