Hacker News new | ask | show | jobs
by mgkimsal 1804 days ago
How is saying "I don't like tailwind" leading to "I'll write my own webserver"? If tailwind was, magically, the only alternative to hand-rolling everything, perhaps, maybe, but it's not.
1 comments

My analogy, which seems to be a poor one judging by the downvotes, is that css is lowest level you can get for layout in browser, so it's inevitable that someone will write something of a higher abstraction to simplify it's usage (discoverable with limited class names), give it a particular purpose (consistent scales), and make it reusable. This is exactly what a library (webserver) is written on top of a language of your choice (java).

It's not unreasonable to expect someone to take a similar approach to tailwind and write a similar thing that targets something even more specific such as animations.

The downvotes probably came from your 'all or nothing'. There are, and have been, multiple abstractions at various levels, for years. Implying that if someone doesn't like these particular abstractions, they advocate "build it yourself" is wrong, and that's how it came off.