• 0 Posts
  • 1 Comment
Joined 2 years ago
cake
Cake day: June 18th, 2023

help-circle
  • An example from work a few weeks ago. I fixed some vibe coded UI code that had made it to prod. The layout of the UI was basically just meant to be an easy overview of information relevant to an item. The LLM had done everything right except it assumed a weird mix of tailwind and bootstrap, mixing and matching css classes from both. After I implemented the classes myself it went from a single column view to grids and nested grids grouping the data intuitively. I talked with the dev who implemented it, and basically it was just something quickly cobbled together with AI until it was passable. The AI had added a lot of extra that served no function and that didn’t conform to a single css framework, but looked like it could. For months noone questioned it despite talk about that part of the UI needing a facelift.

    I don’t know how representative it is, but about half the time I’m thoroughly confused about a piece of code and why it was written the way it was, the answer has turned out to be AI. And unlike when a developer wrote it, there rarely is any reason to have written it the weird way.