News for hackers. Stuff that matters.
Re:AI is forcing us to pay off 40 years of technical debt by traceroute66 on Wednesday November 04, 2026 @07:43AM (#50364783)
> PHP was a joke language from the start.... Cue the PHP fans telling me that "it's good now".

First, I am not a PHP fan, but I will absolutely stick up for the "its good now".

Yes, absolutely no debate the old PHP 4.x/5.x was shocking. However to give PHP their due, they absolutely did make serious efforts in 7.x/8.x. They deserve due recognition for that.

Unfortunately lots of people – I'm guessing you're one of them – still have battle-scars from 4.x/5.x and they think (incorrectly) that 7.x/8.x is "more of the same".

Second "joke language", well, cast your mind back to what else was available at the time... ColdFusion, CGI, ASPX ... it was not exactly a beautiful world back then.

Sure, to borrow your terminology, the Java fans will be along soon to tell us all how awesome Java is for the web. But many of us still bear battle-scars of the horrors of Java stacktraces, messing around with incomprehensible XML config files, Java's penchant for eating RAM for breakfast, and generally trying to figure out why the hell Tomcat is not working (again !).

Re:AI is forcing us to pay off 40 years of technical debt by hansvm on Wednesday November 04, 2026 @07:45AM (#50364800)
Wait a second, in very recent years the major Java projects I touched were still messing around with incomprehensible XML config files. Has that actually changed in some part of the industry?
Re:AI is forcing us to pay off 40 years of technical debt by traceroute66 on Wednesday November 04, 2026 @07:48AM (#50364829)
> Has that actually changed in some part of the industry?

I suspect the only thing that's changed is that Oracle now charge you for the pleasure. ;)

More seriously though, its been a long time since I've touched Java, but I suspect the only thing that's changed is that its all hidden in magical kubernetes containers these days.

Re:AI is forcing us to pay off 40 years of technical debt by a57721 on Wednesday November 04, 2026 @09:41AM (#50366179)
Not sure if you know what you are talking about? Most users of Java don't pay anything to Oracle. Many things have changed in the Java world. Kubernetes doesn't have any special relation to Java.
Re:AI is forcing us to pay off 40 years of technical debt by traceroute66 on Wednesday November 04, 2026 @10:28AM (#50366966)
> Not sure if you know what you are talking about? Most users of Java don't pay anything to Oracle.

Congratulations Java Fan on missing BOTH the smily-face at the end of the first phrase AND the "More seriously though" at the start of the second.

I'm glad someone still loves Java though. ;)

Re:AI is forcing us to pay off 40 years of technical debt by a57721 on Wednesday November 04, 2026 @11:09AM (#50367626)
Congratulations for posting your humorous hot takes on something you haven't touched in 10-15 years.
Re:AI is forcing us to pay off 40 years of technical debt by drdec on Wednesday November 04, 2026 @08:16AM (#50365121)
You can use annotations to get rid of a lot of XML in server side Java. See Spring Boot for example.
Re:AI is forcing us to pay off 40 years of technical debt by mrkeen on Wednesday November 04, 2026 @08:26AM (#50365237)
Yes, when I started getting into Spring(Boot?) in 2013-14 I was complaining about the annotation magic that you needed to sprinkle around the code, so that you could have a Java project take a long time to start up and fall over. The response at the time was that it was so much better than the old XML way that you "had" to do. So that kind of XML hasn't been needed for 10+ years.

Unless you count the XML dependency management with Maven, which isn't too bad.

Re:AI is forcing us to pay off 40 years of technical debt by DocTomoe on Wednesday November 04, 2026 @07:51AM (#50364849)
I remember when that exact line of argument was made about '3/4 was silly, but they're putting a real effort into 5'
Re:AI is forcing us to pay off 40 years of technical debt by fabioborellini on Wednesday November 04, 2026 @08:41AM (#50365382)
Also "3 was silly, they got 4 done right".

Although that was more connected to the performance improvements through Zend Engine than language sanity or robustness, at the time.

Re:AI is forcing us to pay off 40 years of technical debt by mitchitized on Wednesday November 04, 2026 @08:53AM (#50365542)
> ColdFusion, CGI, ASPX ... it was not exactly a beautiful world back then.

Pffft. VRML is the whole game, baby! Once everyone runs out and gets an SGI oxygen, Nobody is going to use freaking web browsers ever again. I mean, HTML, what a joke.

Re:AI is forcing us to pay off 40 years of technical debt by tinco on Wednesday November 04, 2026 @09:00AM (#50365615)
Also, ASPX (so ASP.Net) was a vastly superior technology to PHP. It was my first love, and I ditched it for Ruby on Rails, but ASP.Net was really good. Especially when you ran it on Linux using Mono.
Re:AI is forcing us to pay off 40 years of technical debt by jmull on Wednesday November 04, 2026 @09:33AM (#50366076)
The previous post probably should have said classic ASP, not ASPX.

Classic ASP was the more direct competitor to PHP, while ASP.net came along later, as part of a next generation of web server languages/frameworks/platforms.

Re:AI is forcing us to pay off 40 years of technical debt by thorin on Wednesday November 04, 2026 @09:06AM (#50365703)
I remember VRML being a possible PhD topic for me in 1997, I think that was about the last I heard of it!

The other option I was actually offered was in machine learning and categorisation, but I avoid it as it was obviously a dead end lol.

Re:AI is forcing us to pay off 40 years of technical debt by sneak on Wednesday November 04, 2026 @09:25AM (#50365959)
CVE-2026-109618 is evidence that it is absolutely not "good now". To make a pro-PHP argument the week that PHP's shortcomings just cost half the internet millions of dollars of lost time panic-patching an RCE is... an interesting choice.
Re:AI is forcing us to pay off 40 years of technical debt by dboreham on Wednesday November 04, 2026 @10:06AM (#50366611)
No fan of php either but that bug was in C code.
Re:AI is forcing us to pay off 40 years of technical debt by sneak on Thursday November 05, 2026 @04:59AM (#50377315)
Yes, PHP‘s C code.
Re:AI is forcing us to pay off 40 years of technical debt by knome on Wednesday November 04, 2026 @10:53AM (#50367375)
>CVE-2026-109618 is evidence that it is absolutely not "good now"

That's a C language error, not a PHP language error. I don't see that CVE as particularly different from when they showed python's dictionaries could be attacked using dictionary hash-collision (something that also affected PHP). It's worse in being remotely executable, rather than merely a denial of service. But it's ultimately a facet of the C implementation rather than something wrong with the language itself. CVEs, even remote ones, will happen. Even java had its logging execution error.

I've made fun of plenty of things in PHP over time, but the language hit the mark it was aiming for initially. It was easy. A 12 year old could sit down and write an ugly little forum and it would work. Because it was easy for amateurs, a lot of amateurs wrote in it, and there's a ton of clumsy code out there. Because it was easy to setup and run with minimal setup, popular packages were very popular. Wordpress vulnerabilities matter because it was very easy for programming chop shops to hack out tons of websites for all the millions of little businesses out there that didn't often follow up on patching etc once that was done. PHP was bad largely for the same reason BASIC was bad. It was easy.

PHP being easy gives it a huge blast radius for anything that goes wrong with its implementation or popular frameworks and libraries.

Re:AI is forcing us to pay off 40 years of technical debt by robotresearcher on Wednesday November 04, 2026 @11:18AM (#50367770)
Perhaps C isn’t the right language with which to implement PHP. C is bristling with foot-guns. That implementation choice is still the responsibility of PHP.

(I say this as someone who enjoys C programming)

Re:AI is forcing us to pay off 40 years of technical debt by TedDoesntTalk on Wednesday November 04, 2026 @10:54AM (#50367390)
> ColdFusion, CGI, ASPX ... it was not exactly a beautiful world back then.

You’re missing the point. Those are all dead. The implication is that PHP should have had the fate.

Re:AI is forcing us to pay off 40 years of technical debt by actionfromafar on Wednesday November 04, 2026 @11:14AM (#50367700)
PHP had a super power - it was pretty stateless before that was cool. Thus, it is easy to understand and it's easy to scale. And a lot of it is basically transforming SQL columns into JSON or XML text. I used to laugh at it but now I just shrug. There's much worse things in Node-land.
Re:AI is forcing us to pay off 40 years of technical debt by chasd00 on Wednesday November 04, 2026 @03:21PM (#50370944)
> the Java fans will be along soon to tell us all how awesome Java is for the web

well, there's no Java2Shell at least.

Re:AI is forcing us to pay off 40 years of technical debt by traceroute66 on Wednesday November 04, 2026 @03:50PM (#50371308)
> well, there's no Java2Shell at least.

Ahem, cough....

Log4Shell (CVE-2021-44228)

Re:AI is forcing us to pay off 40 years of technical debt by chasd00 on Wednesday November 04, 2026 @06:57PM (#50373113)
That’s not java2shell that’s “log4j2shell” which you even had to type..
Re:AI is forcing us to pay off 40 years of technical debt by traceroute66 on Thursday November 05, 2026 @03:51AM (#50376820)
Don't clutch those straws too tightly, you might drop them. ;)

Seriously. You're moving goalposts. I think we both know how popular Log4j is and how many millions of Java deployments that Log4j vulnerability affected.