Hacker News new | ask | show | jobs
by oneeyedpigeon 842 days ago
The first thing that struck me when I looked at some of the code was:

    <div className="flex items-start border-b border-gray-300 py-2 hover:bg-blue-100 cursor-pointer transition-all"
I'm not saying that humans never come up with this kind of crap, but it feels like it's going to be a LOT more common the more we resort to AI. I wonder if "... and make the code easy-to-read so that it's maintainable in future" is ever included in prompts for LLM-generated code.
4 comments

That's just Tailwind and exactly how my HTML looks as well.
I'm a clean code guy and tailwind made my code look terrible. But I gave it a chance because I heared so many positive things about it. Now I'm happy with it. I don't have to jump around from HTML to CSS and back to HTML.
That is just tailwind CSS, one the most common CSS libs out there I would think. Your comment is actually a lot more telling of something as opposed to this AI written project though.
that's the horror of Tailwind for you, which is different from the horror of AI
Software development is horror all the way down. The sooner you embrace the horror, the easier life gets.