News for hackers. Stuff that matters.
Re:An Internet of PHP by zyngaro on Saturday September 09, 2023 @06:17AM (#37443818)
From php.net home page: « PHP 8.2 is a major update of the PHP language.It contains many new features, including readonly classes, null, false, and true as stand-alone types,… » That says all for me. Doesn’t matter if it powers half the web. It’s an awful programming language.
Re:An Internet of PHP by smaps on Saturday September 09, 2023 @08:00AM (#37444351)
Can you explain why you think it’s an awful language? It definitely used to be lacking in features, but the improvements in the recent versions have been great.
Re:An Internet of PHP by zyngaro on Saturday September 09, 2023 @08:15AM (#37444447)
Developer experience is awful. Variable names starting with $, heavy object orientism that seems like an after thought, tooling ecosystem is subpar, standard library is a joke, etc It’s a pile of crap and that’s my opinion
Re:An Internet of PHP by dagw on Saturday September 09, 2023 @08:24AM (#37444499)
I agree that the language itself has many warts and the standard library is what it is, but I found the modern PHP developer experience and tooling is surprisingly good. At least when working within the Laravel ecosystem.
Re:An Internet of PHP by WA on Saturday September 09, 2023 @09:17AM (#37445021)
What’s wrong with the standard library? Seems pretty extensive. Supports all kinds of DB drivers out of the box, JSON, XML, drawing tools…