Hacker News new | ask | show | jobs
by poopypoopington 1551 days ago
Isn't modern PHP just Hack?
1 comments

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