View on GitHub

J. P. Gerdeman

Musings on software development

My colleagues and I were arguing yesterday about our CSS. Unlike in other languages, we do not have a coding standard for CSS. Up to know we’ve tried to adhere to the following loose rules:

These simple rules suffice during development when everyone (or at least part of us) has the implicit rules (imposed through the first CSS code) in short term memory. When going into maintenance or adding a feature later on, the implicit rules have been forgotten or there is little time to figure them out. More CSS rules are added sometimes duplicating older rules. Even worse is when you can’t figure out what the older rules are good for (i.e.: a forgotten abbreviation).

I’ve started compiling my personal CSS coding styles into a comprehensive list and would like to know what you guys think about it.

List of useful posts: