News for hackers. Stuff that matters.
Re:PHP in 2019 by zaphar on Wednesday May 15, 2019 @07:47AM (#19918444)
Yeah, I've been burned too badly by PHP. There are languages I haven't done in years that I would go back to if there was a compelling need to.

PHP is not that language. Far to many sleepless late nights trying to clean up some security hole. PHP is like that abusive Ex that everyone says has changed. It may be true, in which case, good for PHP

But I won't be putting myself in that position again.

Re:PHP in 2019 by proyb on Wednesday May 15, 2019 @08:48AM (#19918835)
I've been burned by some language that create a poor developer experience with long compilation time and garbage collection.

Maybe V language (vlang.io) could pique your curiosity.

Re:PHP in 2019 by GrumpyNl on Wednesday May 15, 2019 @07:55AM (#19918500)
You can be burned by every program language if you dont know the in and outs. It all boils down to, pick the right language for the job and more important, know the language you choose.
Re:PHP in 2019 by cljs-js-eval on Wednesday May 15, 2019 @08:35AM (#19918750)
Seems like to know PHP, though, you need to know all the history that the author has picked up by following the PHP space since forever. Which mysql functions are appropriate, etc. If knowing the language means "being a working programmer in 2010 so that you could gain a working knowledge of the old APIs and some context for the new ones" I'm out. Keep PHP, I'll move to a different language where knowing historical baggage isn't a prerequisite.
Re:PHP in 2019 by mateuszf on Wednesday May 15, 2019 @08:35AM (#19918756)
There are languages which have great design from the start though (like Clojure).

PHP, javascript are not them.

Probably that's the reason why Clojure tends to be in top of the "developer happiness" polls.

Re:PHP in 2019 by cutler on Saturday May 18, 2019 @06:05AM (#19946612)
.... and the bottom of "jobs available".
Re:PHP in 2019 by sethammons on Wednesday May 15, 2019 @08:38AM (#19918767)
Languages have foot guns. Most however don't default to being loaded and already pointed at your foot.
Re:PHP in 2019 by zaphar on Wednesday May 15, 2019 @10:49AM (#19919916)
I did know PHP. I was actually pretty good at and wrote non-trival software in it. Even then the relationship was pretty abusive. Even when I was writing bug free code the author of a library I was using wasn't or a co-worker wasn't.

It may in fact be that PHP has improved to the point that the relationship isn't abusive anymore. But I'll never go back to find out. PHP and me were done years ago.

Re:PHP in 2019 by capitol_ on Wednesday May 15, 2019 @11:34AM (#19920434)
Saying that all programming languages are equally good is about as true as saying that all sorting algorithms are equally fast.
Re:PHP in 2019 by GrumpyNl on Wednesday May 15, 2019 @02:58PM (#19922565)
That i didnt say.