top | item 47208289

(no title)

zozbot234 | 9 hours ago

> I dug into the code and it was thousands of lines of absolute madness

Ask the AI to assess the code itself and to propose ways to gradually refactor it for better cleanliness. It can be good at that stuff, but you need to make it an explicit goal.

discuss

order

sarchertech|8 hours ago

Yeah I tried that but without tests it couldn’t keep the look and feel the same. And spending time thinking deeply enough about it to understand and specify what exactly I don’t want it to change just goes back to my point that coding isn’t the hard part.

Majromax|7 hours ago

Prompting all the way down? Have the AI create tests that document existing, known-good behaviours, then refactor while ensuring those tests pass.

gambiting|7 hours ago

"feed me even more coins and I'll make my code not suck the second time around, pinky promise" vibe.