this post was submitted on 15 Oct 2023
230 points (100.0% liked)

Programmer Humor

852 readers
2 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
[–] bjoern_tantau@swg-empire.de 44 points 11 months ago (1 children)

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?

[–] LukeChriswalker@feddit.de 17 points 11 months ago (1 children)

I mean it's valid XML

It's just not useful

[–] bjoern_tantau@swg-empire.de 20 points 11 months ago (1 children)

It isn't valid XML. No root node.

[–] LukeChriswalker@feddit.de 14 points 11 months ago (2 children)

We may just not see it but fair point

[–] bjoern_tantau@swg-empire.de 10 points 11 months ago (2 children)

The line numbers show us that we're seeing the whole file.

[–] LukeChriswalker@feddit.de 6 points 11 months ago

Oh ur right

Ew I didn't notice

That's awful

[–] Joe_0237@lemmy.ml 1 points 11 months ago

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.

[–] 0x0@lemmy.dbzer0.com 10 points 11 months ago

The editor would need to start counting lines at zero.