Naming things is by far the most difficult part of writing CSS. This is because we can’t predict the future. A class name might make perfect sense one day, then the design changes, and it’s a misnomer the next day. We’re then tasked with refactoring our markup and styles so that they make sense. Yuck. …
Tag Archives: convention
Coding-Style Conventions
Analyze Github commits to know which convention is popular. Instead of arguing where to place spaces and where not, just check GitHub to get to know the popular convention. Don’t agree on tabs vs. spaces though. Go #teamtabs! Popular Coding Convention on Github →