Yes, I program in HTML
Yes, I program in HTML
Would you really rather see <\Foo> than )?
There’s a reason why most popular languages use } rather than end if or fi. The added verbosity doesn’t actually help people read your code more than e.g. indentation or editors with paren matching or rainbow parens.
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
Oh ur right
Ew I didn’t notice
That’s awful
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.
Yes, there is: github.com/takari/polyglot-maven
I am just not sure if that’s much better. Maven is just a huge pain in the rear.
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 sadistic 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
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.
20 50 60 90, 10