News for hackers. Stuff that matters.
Re:Tailwind Is a Leaky Abstraction by Vinnl on Tuesday November 29, 2022 @09:08AM (#33787735)
I have only used Tailwind on personal projects, but I can't imagine it'd be harder than "regular" CSS, which is generally somewhat append-only anyway (you need a lot of team discipline to tame that somewhat).

In fact, I'd expect it to be more maintainable, exactly because it removes the indirection of CSS classes. They're an abstraction that don't make much sense if you're already using components, and the very point of that abstraction -being able to reuse styles- is the very reason it quickly becomes append-only. With Tailwind, you can safely delete styles, knowing it won't affect styles elsewhere in your project.

Re:Tailwind Is a Leaky Abstraction by robby_w_g on Tuesday November 29, 2022 @09:32AM (#33788034)
This succinctly nails what I love about Tailwind. It gets rid of the cognitive load of reviewing a css change and having to think through how the change will ripple throughout the site.
Re:Tailwind Is a Leaky Abstraction by eurasiantiger on Tuesday November 29, 2022 @11:23AM (#33789539)
If only there was a DOM-aware CSS linter.