News for hackers. Stuff that matters.
Re:I still love PHP and JavaScript by countvonbalzac on Tuesday August 02, 2022 @08:07PM (#32325989)
Is Hack better than PHP?
Re:I still love PHP and JavaScript by francislavoie on Tuesday August 02, 2022 @10:34PM (#32326984)
Hack 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.

Re:I still love PHP and JavaScript by jrsj on Wednesday August 03, 2022 @12:24AM (#32327654)
I 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.
Re:I still love PHP and JavaScript by nkozyra on Tuesday August 02, 2022 @08:40PM (#32326266)
In 2022? Probably not. When it came out? Absolutely.
Re:I still love PHP and JavaScript by jamesfinlayson on Wednesday August 03, 2022 @12:17AM (#32327619)
Yeah 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.
Re:I still love PHP and JavaScript by zeroonetwothree on Tuesday August 02, 2022 @10:15PM (#32326856)
Only if you are Facebook. Err I mean Meta.