this post was submitted on 15 Oct 2023
399 points (94.4% liked)

Programmer Humor

32000 readers
1744 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 76 points 11 months ago (3 children)

I recently had to work with XSLT (may it's inventor burn in hell for their crimes).

That's pretty much programming in XML. It's probably the worst possible thing.

[–] [email protected] 30 points 11 months ago (2 children)

XSLT is fine

If you have a program generate it

[–] [email protected] 24 points 11 months ago

Sadly, it was done manually. I had to migrate it to this brand new bleeding edge technology, Apache Velocity. That's not great either, but it's much less terrible than XSLT.

For that task I had to learn two templating languages at the same time to port it from one to the other. Wasn't an easy task.

[–] [email protected] 3 points 11 months ago

Pff. I know someone who generated programs using XSLT.

[–] [email protected] 9 points 11 months ago (1 children)

Can't even imagine. I've got fed up by the short time I had to configure Maven in plain xml...

[–] [email protected] 2 points 11 months ago (1 children)
[–] [email protected] 1 points 11 months ago

Yes, there is: https://github.com/takari/polyglot-maven

I am just not sure if that's much better. Maven is just a huge pain in the rear.

[–] [email protected] 4 points 11 months ago* (last edited 11 months ago) (1 children)

Bro the project I'm on uses XSLT and the first time I saw it I legitimately thought I was having a stroke because I could not accept that anybody would be stupid and/or masochistic enough to actually want something like that.

However, I've now made it my mission to master it because it makes me feel like a high-born wizard speaking of ancient secrets in a tower high above humanity

[–] [email protected] 3 points 11 months ago

I totally know that feeling :)

Well, in the 90s, XML was the future. Luckily, not a lot of this future remains.

Just imagine what HTML would be like if JSON had been available back then.