11 points

I will never understand how XML came into being when lisp already existed.

permalink
report
reply
26 points

I don’t either)))))))))

permalink
report
parent
reply
13 points
*

(reminds (it (of (story me))))

permalink
report
parent
reply
10 points
1 point

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.

permalink
report
parent
reply
63 points

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?

permalink
report
reply
26 points

I mean it’s valid XML

It’s just not useful

permalink
report
parent
reply
36 points

It isn’t valid XML. No root node.

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
parent
reply
24 points

We may just not see it but fair point

permalink
report
parent
reply
1 point

Could it be an xml entity (or whatever it’s called) that you reference from another xml file? Do those require root nodes?

permalink
report
parent
reply
15 points

You should check out this new project, supposed to be twice as fast as HTML. It’s called XHTML.

permalink
report
reply
3 points

I thought that was the HTML used by Twitter.

permalink
report
parent
reply
77 points

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.

permalink
report
reply
31 points

XSLT is fine

If you have a program generate it

permalink
report
parent
reply
24 points

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.

permalink
report
parent
reply
3 points

Pff. I know someone who generated programs using XSLT.

permalink
report
parent
reply
9 points

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

permalink
report
parent
reply
2 points

Is there another way?

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
4 points
*
Deleted by creator
permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
23 points

This reminds me of Apple plist files, which appear to have been invented by someone that doesn’t know how XML works.

permalink
report
reply
8 points

What even are those?

permalink
report
parent
reply
9 points

Which is true for the majority of all XML files I’ve ever come across in the wild.

permalink
report
parent
reply
4 points

I think XML only makes sense if your data is heavily tree-like

permalink
report
parent
reply
4 points

In that case, why not use JSON?

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4.3K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments