News for hackers. Stuff that matters.
Re:Tailwind CSS v3.0 by the__alchemist on Thursday December 09, 2021 @09:51PM (#29505909)
Spot on. Whenever you add a DSL like this, you need to carefully weigh costs and benefits. A hidden downside is that every new person who views your code base (And you in the future!) has to become proficient with the DSL. The base tech it wraps (HTML + CSS) is more fundamental; less overhead.

Another way of saying this, is that Tailwind adds cognitive overhead.

Re:Tailwind CSS v3.0 by iovrthoughtthis on Friday December 10, 2021 @07:03PM (#29517010)
the classes you define become the new dsl though. so you keep the overhead of learning + the effort of writing and maintaing your own dsl