Hack might be better from a language design point of view, but most people outside of Facebook seem to have lost interest in it once PHP 7 caught up to it performance-wise.
With Hack's extensive static type checking and even contexts / coeffects, it's much more than just performance. The bigger your system grows, the more pain it removes.
You still can mix it with plain PHP, much like you can mix TypeScript with plain JavaScript.
I wish high-profile PHP projects, like Nextcloud, migrated to Hack eventually; it can be done piecemeal.
Hacks language is better, nobody will deny it. But outside of facebook there is barely no community, not many big open source projects. And as the language is now incompatible you even may not be able to use php libraries.
kijin|4 years ago
nine_k|4 years ago
You still can mix it with plain PHP, much like you can mix TypeScript with plain JavaScript.
I wish high-profile PHP projects, like Nextcloud, migrated to Hack eventually; it can be done piecemeal.
tpetry|4 years ago
tyingq|4 years ago