Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pjmlp
· 6y ago · 0 comments
XML, but I guess I won't get many friends for asserting that.
Comments
[–]
juped
6y ago
I really regret disliking XML all those years ago, now that I've seen the alternative.
[–]
secondcoming
6y ago
Nope. Json has schema validation too, and every language has a json parser
[–]
pjmlp
OP
6y ago
JSON doesn't do comments.
[–]
secondcoming
6y ago
Not officially, but it's fakeable
[–]
pjmlp
OP
6y ago
Which for me is a design smell, why bother with workarounds when XML already offers me all the best tooling out of the box.
[–]
jayd16
6y ago
If something like k8s implemented comments as specific comment fields that would actually be pretty useful. The fields could be parsed and show in GUIs.
[–]
jiangplus
6y ago
Then use HTML and extend the functionality with JSX
[–]
pjmlp
OP
6y ago
Useless work when XML already has all the tooling available and battle tested in production.