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.
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.