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.
77ReplyXSLT is fine
If you have a program generate it
31ReplySadly, 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.
24ReplyPff. I know someone who generated programs using XSLT.
3Reply
Permanently Deleted
4ReplyI 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.
3Reply
Can't even imagine. I've got fed up by the short time I had to configure Maven in plain xml...
0ReplyIs there another way?
0Reply
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?
62ReplyI mean it's valid XML
It's just not useful
26ReplyIt isn't valid XML. No root node.
36Reply
Permanently Deleted
50ReplyTesting char escaping in Lemmy:
\\
1ReplyPutting code between backticks shows it as codeblocks and doesn't strip the symbols Hello <p>world
View source to see the markup
</p>
1Reply\
1Reply
This reminds me of Apple plist files, which appear to have been invented by someone that doesn't know how XML works.
23ReplyWhich is true for the majority of all XML files I've ever come across in the wild.
9ReplyI think XML only makes sense if your data is heavily tree-like
4Reply
What even are those?
8Reply
No.
17ReplyYou should check out this new project, supposed to be twice as fast as HTML. It's called XHTML.
15ReplyI thought that was the HTML used by Twitter.
3Reply
Which of these wonderful languages is this? https://en.wikipedia.org/wiki/Category%3AXML-based_programming_languages
12ReplyI will never understand how XML came into being when lisp already existed.
11ReplyI don't either)))))))))
26Reply(reminds (it (of (story me))))
13Reply 10ReplyWould you really rather see
<\Foo>
than)
?There's a reason why most popular languages use
}
rather thanend if
orfi
. The added verbosity doesn't actually help people read your code more than e.g. indentation or editors with paren matching or rainbow parens. 1Reply
Meanwhile in APL, you just
20 50 60 90, 10
9ReplyWho ever designed this deserves to be killed.
5ReplyWhat color theme is that?
3ReplyLooks like Vampire.
2Reply
someone should make lisp but with html syntax
3Reply