←back to thread

451 points todsacerdoti | 1 comments | | HN request time: 0.624s | source
Show context
mannyv ◴[] No.45059180[source]
Ugh, the syntax for CSS is just so crappy.

I know like 10-15 different languages, and CSS is by far the hardest to read and understand. It's easier to understand x86 assembly than CSS. CSS is basically pre-tokenized input that drives a renderer, but they sort of went halfway and didn't really make it real tokens or really human-writable.

I'd say that it should take the place of ASN.1 in the RFCs as an example of "what not to do."

replies(5): >>45059270 #>>45059328 #>>45061781 #>>45062327 #>>45067645 #
1. jy14898 ◴[] No.45061781[source]
What do you mean by "CSS is basically pre-tokenized input"? Can you give an example of what you have trouble with?