Hacker News new | ask | show | jobs
by andreygrehov 2025 days ago
Given PHP 8 has been released, does Hack provide enough value to consider it as an alternative? My take on it is no, but I'm curious about other people's opinions.
2 comments

It is good to keep in mind that this article is more than four years old. I would advise against Hack at this point since most of the good bits have been integrated into the main PHP release - typing is a lot more predictable and enforceable for instance.
Oh boi, my apologize, I missed the "Written 4 years ago" part. Good call. Thank you.
only played around with it briefly a few years ago. my view is "probably not unless you've already used it, or have knowledge of some specific PHP issue you know you're going to need that Hack provides". I think 4-5 years ago, there was a point where Hack might have been able to grow out of niche status, but I think that time's passed, with the growing community around 'modern' PHP and the ecosystem provided via composer and frameworks.