flâneur — a map of the web's best reading

How I Organize My Stylesheets | The Spicy Web

spicyweb.dev · 2,471 words · saved by 1 readers

An excerpt from my upcoming course for The Spicy Web on how to write modern, maintainable vanilla CSS using sound architectural principles, slated for release in January 2023.

There are only two hard things in Computer Science: cache invalidation and naming things. – Phil Karlton Yeah, we’ve all heard this line before. But like with many truisms, there’s actually a lot of truth to this. Naming things (and cache invalidation for that matter) can be quite challenging. Some people like finding solutions where they don’t have to name things. Or at least the names can be more practical and immediate, less philosophical and “big picture”. A function name like gonculateWidgetData makes sense if you’re writing a function to, well, gonculate the widget data. Right?? If you h

Explore this link on the map →

related reading