News for hackers. Stuff that matters.
Re:The Rise of Hybrid PHP: Blending PHP with Go and Rust by zelphirkalt on Saturday August 30, 2025 @08:02PM (#45079106)
Do we need to post that JS' weird things link here? Of the basics of JS, few things are sound. The "firm foundation" idea doesn't really work for JS. It might even work better for PHP, and I am saying that as someone, who doesn't want to do PHP ever again.
Re:The Rise of Hybrid PHP: Blending PHP with Go and Rust by com2kid on Saturday August 30, 2025 @09:38PM (#45079567)
JS is very much a minimal language that has a handful of choices. E.g. arrays being objects with field names that are sequentially numbered integers.

The initial equality operator was a mistake, but that was rectified over a decade ago with `===`. Not having a proper int type sucks and holds the language back in a number of ways, but otherwise the language is wonderfully regular.

And anyone who complains about the ecosystem has obviously never tried python, which after a decade of attempts, is now almost on par with JS of a decade ago!

Re:The Rise of Hybrid PHP: Blending PHP with Go and Rust by hnlmorg on Sunday August 31, 2025 @03:31AM (#45081170)
You shouldn’t compare backwards.

Saying “at least x isn’t as bad as y” doesn’t further a discussion, it only acknowledges denial about just how bad the problems are with x.

This is particularly true when we weren’t even discussing y (in our case, Python) in the first place.