Hacker News new | ask | show | jobs
by nomilk 878 days ago
In your analogy, wouldn't tailwind be more of a multivitamin, in that it contains a bunch CSS classes (vitamins) conveniently packaged and ready to go?

I haven't used tw yet, but I intend to because I was blown away by how much sense the authors' book Refactoring UI made.

2 comments

Taking multivitamins is usually the wrong approach. So they are indeed a kind of snake oil.

Which condition do you intend to treat by taking multivitamins?

Have you looked at randomized controlled studies and found that they support your idea that taking MVs has a positive effect on that condition?

Have you got your bloodwork done? Did the doctor then suggest that based on your situation MVs are the right approach? I never have heard of such a thing happening.

So yeah, TW and MVs are similar. Both appeal to people who think "Hey, why do the work and figure things out and act appropriately? I can just swallow this magic pill!".

Tailwind provides many classes to use right out of the box, whereas vanilla CSS requires classes to be written, which takes longer.

If someone's good at, fast at, and enjoys writing vanilla css, it might be the way to go, but if they don't have a sense of design or lack skill in writing CSS, a framework allows pages to look professional quickly.

A site made with a css framework may not be as extensible as one made with vanilla css, but if there's strong enough desire it could always be taken out and swapped for vanilla CSS.

For quickly getting things done on projects where time/resources are , I'd go for a frame work (for the reasons above: I lack a sense of design and would spend an eternity tinkering and doubting my design choices).

> Taking multivitamins is usually the wrong approach. So they are indeed a kind of snake oil.

Not true at all. It ensures people get needed nutrients when they have shitty diets. It's not snakeoil at all.

This was my experience as well. I talked to three different doctors in two different states and they were all lukewarm at best about multivitamins when I mentioned them. "It won't hurt anything" was about the best I got from one of them.
CSS classes in this case are microplastics, not vitamins.
That would make Tailwind a cocktail of micro-plastics, as utility classes are just regular css classes.