How to Manage CSS Performance for Websites

Reading Time: 14 minutesEvery once in a while someone asks specifically about how to manage CSS performance for a website. What if there’s a lot of components? What if there’s a lot of animations? What if there’s a lot of just CSS?

A Small Guide for Writing Comments in Front-end Code

Reading Time: 14 minutesHygenic code is commented code. But often, it can be difficult to understand where, when, or even how to comment your front end code. So I’d like to share a small guide for writing comments in your front-end that makes the developer experience better for everyone.

Cyclomatic Complexity in CSS

Reading Time: 8 minutesThere’s a seldom-discussed concept in web software development called cyclomatic complexity which is a metric used to indicate how complex a program or unit of code is. It’s not discussed very often because, well, it’s really not exciting. You can … Continue reading

A Small Guide for Naming Stuff in Front-end Code

Reading Time: 9 minutesPhil Karlton has famously said that the two hardest things in computer science are naming things and cache invalidation. That’s true. Naming stuff is hard, and so is updating a class name when the stylesheet is cached.