3 ms·
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 curs
by oneeyedpigeon 3y 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.
- Kiro 3y agoThat's just Tailwind and exactly how my HTML looks as well.
- janpmz 3y agoI'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.
- agos 3y agothat's the horror of Tailwind for you, which is different from the horror of AI
- addandsubtract 3y agoSoftware development is horror all the way down. The sooner you embrace the horror, the easier life gets.
- chrissoundz 3y agoThat 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.