|
|
|
|
|
by onion2k
1610 days ago
|
|
Sure the end compiled HTML is a mess, but that’s like complaining your bytecode or binary is messy. Who cares? Everyone who downloads more data than necessary cares, or whose browser has to spend more battery power to parse that HTML, or who has to wait because you made a page that can't being rendered as it streams in, or any developer who needs to debug that mess in 2 years time because you couldn't write something simple and understandable and you've moved on to a new role. (Not that any of those things are about semantic HTML specifically; they're more about caring about the structural output of your code.) |
|
And come on, html parsing is the cheapest thing of all that happen there. The most of work goes into font rendering and jpeg decompression. Every paragraph adds CPU workload incomparable to any amount of divs, literally tens of thousands of calculations, if your system uses hinting, kerning, etc.
who has to wait because you made a page that can't being rendered as it streams in
This is just a personal preference. At the times of 14.4k and no-images button in the toolbar it was useful, but not today when you can download a megabyte per ping time. I like to see sites as they were intended to be seen and not jump around and change colors with every chunk of html or css. I actually hate sites like that.