And when this is pointed out you’ll usually get replies that just hand wave it away as not a problem, as if things like BEM were invented for no reason.
And when this is pointed out you’ll usually get replies that just hand wave it away as not a problem, as if things like BEM were invented for no reason.
But sure, like most tools, it starts with understanding how it works.
Sooner or later it deteriorates.
Why aren't we asking this about any of the things that are actually hard? Like any programming language, or databases, or caching... CSS is the easiest part of the web stack.
We do. That's what countless abstraction layers, linters, frameworks, style guides, and CI checks are for.
> CSS is the easiest part of the web stack.
…and because programmers keep thinking that, they stay ignorant about CSS and structuring the styles properly - leading to the problems I described above.