News for hackers. Stuff that matters.
Re:What working with Tailwind CSS every day for 2 years look... by lloydatkinson on Tuesday November 29, 2022 @11:57AM (#33790046)
Oh two tailwind hate threads today instead of the usual one at a time?

Everyone as usual saying "long class lists" even though the literal home page tells you not to do this and to make components or partial views or whatever your tool of choice calls it.

At least be inventive and follow the instructions before you start blaming something.

Re:What working with Tailwind CSS every day for 2 years look... by throwayyy479087 on Tuesday November 29, 2022 @12:13PM (#33790265)
If everyone using a tool is using it wrong, it’s a poorly designed tool
Re:What working with Tailwind CSS every day for 2 years look... by eberkund on Tuesday November 29, 2022 @12:23PM (#33790400)
Everybody isn’t though, just the people who are complaining.
Re:What working with Tailwind CSS every day for 2 years look... by lloydatkinson on Tuesday November 29, 2022 @12:33PM (#33790555)
This is exactly it, and the person you replied to should have known this.

You simply can't look at people not reading the docs (or even the home page) who then moan about how the thing they are misusing isn't working - and then conclude it must be the fault of the thing instead of the people misusing the thing.

Re:What working with Tailwind CSS every day for 2 years look... by greenhatman on Tuesday November 29, 2022 @03:41PM (#33792985)
Some people would rather learn every CSS rule than spend 10 minutes reading the Tailwind docs.
Re:What working with Tailwind CSS every day for 2 years look... by troysk on Tuesday November 29, 2022 @12:48PM (#33790733)
The homepage has multiple animated examples showing the use of utility class spamming.
Re:What working with Tailwind CSS every day for 2 years look... by ducharmdev on Tuesday November 29, 2022 @12:57PM (#33790844)
The holiday season wouldn't be complete without the HackerNews Humbug
Re:What working with Tailwind CSS every day for 2 years look... by 1123581321 on Tuesday November 29, 2022 @01:03PM (#33790934)
It's a lot of work to create components just to reduce CSS duplication (i.e. to create more components than you would make if you used traditional CSS classes.) Not always a good solution.

I do like Tailwind, for the record. It would be nice if its allies and enemies would both admit it makes tradeoffs.

Re:What working with Tailwind CSS every day for 2 years look... by greenhatman on Tuesday November 29, 2022 @03:42PM (#33793004)
It's only slightly more work than creating re-usable CSS.
Re:What working with Tailwind CSS every day for 2 years look... by robswc on Tuesday November 29, 2022 @03:47PM (#33793058)
I never read the docs (ok, I do, eventually) but I actually never saw that "tidbit" but it just seemed intuitive that having a million classes wasn't good... but that's why I almost always make what I need to make and then start breaking it down into components. Or, if I have a good plan, start with components. I've never had to use an absurd amount of classes.

What is the alternative?