I've been hand rolling CSS for pretty much every site I've built since 2001. I can't think of a single site with more than a few hundred lines. Most of the time I use a reset which adds more, but the actual site specific stuff has always been relatively small. Anecdata… mumble, mumble.
With respect to the premise of the article: I appreciate having variables because it allows more specificity about what a color or unit is supposed to mean in a given context, which I find valuable.
I'm quite baffled by this... I'm presuming this was in the context of the time when tables were used for layout everywhere
Re:“Variables” in CSS are harmful (2008)
by bryanrasmussen on Wednesday January 03, 2018 @08:07AM
(#16060639)
in my experience tables were hardly used anywhere for layout in 2008.
Re:“Variables” in CSS are harmful (2008)
by zimpenfish on Wednesday January 03, 2018 @08:31AM
(#16060776)
A single example, sure, but quite a high profile site: news.bbc.co.uk was using tables for layout in 2008 -
https://web.archive.org/web/20080306220511/http://news.bbc.c...
Re:“Variables” in CSS are harmful (2008)
by bryanrasmussen on Wednesday January 03, 2018 @08:49AM
(#16060905)
Ok maybe I was just lucky in where I worked.
Even for 2008 this is just wrong. Very few people write any kind of CSS at all. But those who do surely write more.