Comment by sonofhans

2 days ago

If you can find a way to do it better or cheaper you’re welcome to try. No one else has. Don’t think it’s a small problem. The number of user agents and platforms supported by Tailwind would melt plenty of larger organizations.

This doesn't really answer my question and is quite a flippant response. I didn't claim I could do better, I'm asking why they need so many resources to do what they do.

Maybe we accidentally found a more meaningful chance for having a discussion about LLMs.

As CSS is limited in scope, ultra-well defined, testable and declarative, this should be a home run for LLMs.

  • > limited in scope, ultra-well defined, testable

    Are we talking about the same CSS?

    • lol People don't realize that Tailwind democratized styling for a lot of people who didn't want to or didn't know how to write CSS. We're not going back to writing hand-crafted CSS with or without LLMs. LLMs, by their nature, work better with Tailwind since it needs a much smaller context to make the right decision.

      3 replies →

  • Agents are not yet very good at figuring out how things look on the screen.

    Or at least in my experience this is where they need most human guidance. They can take screenshots and study those, but I’m not sure how well they can spot when things are a bit off.

  • Nah, Tailwind is way more important for LLMs than vanilla CSS.

    Models work in contexts. If my context is "my entire app's styling", then it's going to be really difficult to write styles in line unless it's already pretty perfect.

    Tailwind doesn't have that problem. It's local. I can define a single theme and KNOW FOR A FACT how something will look before it even touches my code. That's the beauty of utility-like libraries.

    I stopped working in marketing and advertising (which DID need custom styles), and went to strictly app dev where my needs completely changed.