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

Programmer Humor

32461 readers
600 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
[–] squaresinger@feddit.de 77 points 1 year 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.

[–] LukeChriswalker@feddit.de 31 points 1 year ago (2 children)

XSLT is fine

If you have a program generate it

[–] squaresinger@feddit.de 24 points 1 year 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.

[–] aksdb@feddit.de 3 points 1 year ago

Pff. I know someone who generated programs using XSLT.

[–] GigglyBobble@kbin.social 9 points 1 year ago (1 children)

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

[–] shasta@lemm.ee 2 points 1 year ago (1 children)
[–] squaresinger@feddit.de 1 points 1 year 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.