Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We often talk about the rule of three in software development. The idea is that you don’t start looking for abstractions until you have at least three instances where that abstraction will be useful. The problem with component based or semantic CSS is that it forces you to define abstractions for everything up front even if n=1.

The beauty of Tailwind is that you can still define abstractions when they are needed and pay the price of using abstractions but you can also handle the many one offs every site has in a much cleaner and more direct way.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: