3 ms·
One of my biggest complaints about Tailwind complaints is they invariably start talking about the output - lots and lots of classes applied to lots and lots of
by pc86 3y ago
One of my biggest complaints about Tailwind complaints is they invariably start talking about the output - lots and lots of classes applied to lots and lots of elements. I don't buy it for the same reason I never bought the "semantic markup" stuff - the code exists to be parsed by a computer, and a human reading it is secondary. This is 1000x more true for simple web sites/themes, as opposed to applications which at least will have more maintenance.
Yes, a developer will read 100 lines of code for every line they write, so the DX is important. But the number of times you read the code pales in comparison to the number of times the page gets loaded by a user. Being able to build that quickly and move on is so much more important that having a lot of classes on your p tags.