28
Vent: My coworker told me I was overcomplicating CSS and I hated how right she was
So last week Sarah from the next desk looked at my 400 line stylesheet and asked why I had seperate classes for every single margin size. I got defensive at first because I thought I was being thorough and organized. But she pulled up her own project and showed me how she uses utility classes and it made so much sense. Honestly it hit different because I realized I was writing code that looked impressive but was actually a nightmare to maintain. She wasn't being mean about it just pointed out a simpler way. Now I'm going back through my old projects and refactoring everything. Has anyone else had that moment where someone half your experience shows you a better way to do something basic?
2 comments
Log in to join the discussion
Log In2 Comments
thomasm4124d ago
Man, I spent three hours hand-coding table styles before finding Bootstrap existed.
4
wendy_murphy1624d agoTop Commenter
Oh man, three hours is brutal! Did you at least get a good system down for formatting tables before you found Bootstrap, or was it all just trial and error? I'm curious if you learned anything valuable from doing it the hard way that actually made using the framework easier later on.
7