3 ms·
I wonder how HTML would have developed if it would have been a 'compile target' (via static site generators) right from the start instead of being mainly writte
by flohofwoe 5y ago
I wonder how HTML would have developed if it would have been a 'compile target' (via static site generators) right from the start instead of being mainly written by hand. I bet that CSS could have been a lot simpler (similar to how RISC can be "simpler" than CISC if it no longer needs to support special instructions that make writing assembly code by hand more convenient).
- resoluteteeth 5y agoPeople were already generating html back then and the output of those programs was "simpler" in the sense the html would just have tons of complicated inline formatting attributes on each element (that was completely opaque and impossible to edit by hand), so that's what it looks like when you don't need the output to be human editable. The point of css was to fix this.