3 ms·
Is Hack better than PHP?
by countvonbalzac 4y ago
Is Hack better than PHP?
- nkozyra 4y agoIn 2022? Probably not. When it came out? Absolutely.
- jamesfinlayson 4y agoYeah there were a few years there where PHP frameworks were also adding Hack support... and then Hack started to diverge too much from PHP and now I don't think many (any?) PHP frameworks still support hack.
- zeroonetwothree 4y agoOnly if you are Facebook. Err I mean Meta.
- francislavoie 4y agoHack does have a lot of great features (some of which have already been ported to PHP, others are kinda impossible for technical reasons), but at this point, it's diverged so hard from PHP that they're separate languages. If you choose Hack, you lose the entire PHP ecosystem (composer) that could back you up and save you time. The only ones really using it are Facebook/Meta, so it would be a mistake to choose it for a new project, IMO. It doesn't really have a future.
- jrsj 4y agoI know Slack was using it at one point as well but I have no idea if they still are. That seemed to be as far as it got outside of Facebook though.