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.
XSLT is fine
If you have a program generate it
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.
Pff. I know someone who generated programs using XSLT.
deleted by creator
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.
Can’t even imagine. I’ve got fed up by the short time I had to configure Maven in plain xml…
Is there another way?
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.
deleted by creator
deleted by creator
deleted by creator
This is not HTML. It isn’t even XML. It’s not as bad as designers putting “code” into ads, but it’s close.
Also, ever heard of XSLT?
I mean it’s valid XML
It’s just not useful
It isn’t valid XML. No root node.
We may just not see it but fair point
The editor would need to start counting lines at zero.
The line numbers show us that we’re seeing the whole file.
They only (probably) show us that we are seeing the begining of the file. Also relative line numbing is a thing in vim for example.
Oh ur right
Ew I didn’t notice
That’s awful
Who ever designed this deserves to be killed.
someone should make lisp but with html syntax
Is it just me, or does the append statement not indicate where you are appending the “number” element to?
Meanwhile in APL, you just
20 50 60 90, 10
This reminds me of Apple plist files, which appear to have been invented by someone that doesn’t know how XML works.
Which is true for the majority of all XML files I’ve ever come across in the wild.
I will never understand how XML came into being when lisp already existed.