3 ms·
> There's no perfect way of doing things and everyone and every project is different. Yep. I like utility classes (F.K.A. OOCSS, Atomic CSS, and Functional CSS
by coffeefirst 7y ago
> There's no perfect way of doing things and everyone and every project is different.
Yep. I like utility classes (F.K.A. OOCSS, Atomic CSS, and Functional CSS) and use them all the time. But it's one tool amongst many. It's not reason to give up small namespaced components (e.g., BEM) or using inheritance when you're doing so clearly and deliberately (Zen Garden Method).
This debate, which is something like 25 years old at this point, always seems to assume a need for absolute purity. But one of the best things about CSS is, depending on what you're trying to build, these techniques can work really well together.