Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

S-expression HTML as Standard

Name: Anonymous 2013-09-17 13:25

Who the fuck thought it would be a good idea to use opening and closing tags as DA STANDARD for SHITML? Are the people at W3 dumb?

For those who don't know what I'm talking about,
look how ugly and unnecessarily long HTML is.

<html>
<head>MY WEBSITE</head>
<title>MY WEBSITE</title>
<body>
<p>THIS KIND OF MARKUP IS <b><i><u>SHIT QUALITY</u></i></b></p>
</body>
</html>


But compared to the S-expressions

(html (head "MY WEBSITE")
(title "MY WEBSITE")
(body (p "THIS MARKUP IS" (b.i.u "SATORI QUALITY"))))


It looks far cleaner and makes your eyes feel right at home. It's easier to parse and won't take up as a few kilobytes / megabytes (depending on the page) less Internet bandwidth. Sure it has a lot of parenthesis but it's more attractive than the repeating shitstorm of </tags>.

I know there are a lot of implementations to this but there should be one STANDARD to rule them all. The next version of HTML in the standard should be something like this.

Name: Anonymous 2015-11-03 14:19

>>68
Don't be a retard, nobody makes webpages in notepad anymore. Why do you think shit like ``Zen Coding'' and many HTML/CSS/JS preprocessors exist? It can't be because they're beautiful and easy to use.

Why do you insist on HTML being easier to format, if you want form an injection from HTML to S-expressions? Replace <tag> with (tag and </tag> with ). Then your notepad webpage becomes

(b
(i
(o text)
)
)


which looks absolutely retarded but is easy to follow even in fucking ed. It's not like your left-aligned HTML looks better anyway.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List