logoalt Hacker News

codethiefyesterday at 4:57 PM3 repliesview on HN

Global styles are like global state in software: They're best avoided.


Replies

xigoiyesterday at 5:24 PM

Global state is bad because it’s mutable. Global styles are not mutable.

show 2 replies
slashdaveyesterday at 6:00 PM

Says the engineer and not the designer

show 1 reply
Sankoziyesterday at 5:07 PM

So no CSS files at all? Only inline styles?

show 2 replies