3 ms·
Of course there is a better way, but as he/she said most people don't know it. And for a lot of projects that are built to spec once, and maintained with minima
by hobofan 7y ago
Of course there is a better way, but as he/she said most people don't know it. And for a lot of projects that are built to spec once, and maintained with minimal tweaks for a few years (traditional agency projects), the "bad" way is good enough.
If you want a better way for a project that you will have to maintain for a longer time that should be more flexible, I would personally suggest something like BEM[0] + a few best practices (like the one suggested in the post). This will already get you a long way.
[0]: http://getbem.com/ http://getbem.com/
- gentleman11 7y agoI rather like using BEM but have only used for 6 months or so on short projects. What is the “BEM considered harmful” article in 5 years going to say that we don’t know now?