This Hack is not other thing than a Javish attempt agains PHP trying to prove something for the PHP community. In my point of view, this makes PHP a Java-like language. So, when you state that Hack is "All" that PHP should have been, you are not only denying the PHP way of doing things as well as saying PHP should be replaced by this very new Hack language, which as Java runs on a VM and is Java-like.
If one want to have a java-like-php language, it's better move to java.
PHP is not intended to reinvent the wheels of Dinosaur-fat-Java language.
Sorry, but I just can't let this post title to go without my deny for it and total reproval.
Manuel Lemos - 2014-03-25 12:26:36 - In reply to message 3 from Gilberto Albino
I would not say they tried to make PHP their own Java, but rather to implement features that can make HHVM compiled code run faster, like type coercion, as well other features that allow you to detect bugs in your code earlier.
Those sound like good intentions because they benefit PHP applications.
But of course, you do not have to migrate your code to Hack. You can just use regular PHP and still have some benefits of HHVM.