News for hackers. Stuff that matters.
Re:Modern PHP by nkozyra on Monday March 28, 2022 @07:57AM (#30829523)
Find me a language without a few of those classic 'wat' quirks. They almost all have them.

PHP was quite fairly maligned for a long time. The issue was never "weirdness" but rather poor design. Starting with final 5.x they started turning it around and deprecating or fixing a lot of the worst bits.

JavaScript was a joke but modern js is tight, clean and generally very fast.

Re:Modern PHP by cies on Monday March 28, 2022 @10:28AM (#30830844)
> The issue was never "weirdness" but rather poor design.

To me all weirdness IS poor design.

> JavaScript was a joke but modern js is tight, clean and generally very fast.

Fast it sure is, for an interpreted language.

On "clean and tight" I beg to differ. I find it an unholy mess: the language, the stdlib and the ecosystem.

Re:Modern PHP by nkozyra on Monday March 28, 2022 @05:47PM (#30836031)
> To me all weirdness IS poor design.

Weirdness is subjective. If you look at lisp for the first time coming from other languages it will be weird.

PHP had glaring issues for years, but they started to clean up the language around 7.x.

JavaScript was effectively a toy but grew up in a hurry when Node pushed ecmascript forward and into a well paced release pattern.