3 ms·
BEM was great, for the early to mid 2010s. Utility classes have still been a big productivity win for me. Working on an app with a great deal of technical debt
by AlchemistCamp 3y ago
BEM was great, for the early to mid 2010s. Utility classes have still been a big productivity win for me.
Working on an app with a great deal of technical debt last year, moving to Tailwind made a world of difference in being able to restyle components without also breaking styles on distant parts of the app that nobody on the team realized were relying on the same styles.
- ehutch79 3y agoUtility classes are good and all. Scoped css is great. "Naming things is hard" is still such a cop-out.
- reidjs 3y agoYou can still name things when it makes sense, I just like that in tailwind I don't have to name ALL of the things. It's nice to be able to easily add some margin, or padding, or a few style properties to an element, instead of coming up with a name AND adding those properties in a separate file.
- cqqxo4zV46cp 3y ago“Naming things” being one of the two / three hard problems in software development is literally a meme. They didn’t pull it out of thin air.
- scotty79 3y agoYou could say the same about style="" attribute and !important Mess is still mess even if you are making it through a framework.