3 ms·
Isn't modern PHP just Hack?
by poopypoopington 5y ago
Isn't modern PHP just Hack?
- krapp 5y agoI wish. As far as I'm concerned, Hack was a better language and I wish it had taken off. But no. For one thing, HHVM supports XHP by default, but PHP doesn't, so you still need a separate framework with a DSL to safely handle HTML in PHP. Hack also had async/await, type checking and generics. Also PHP's Composer no longer supports Hack. Hack was supposed to get its own package manager but AFAIK that never materialized.