Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For code quality, I’ve found asking it “is that idiomatic code?” will have it rewrite it more cleanly if it determines the code it wrote was indeed not idiomatic.

The bigger issue is code that doesn’t follow the spec. When I’m trying to generate code to do what I’m asking, I care a lot more about whether or not it actually works (which it usually doesn’t, save for the simplest use cases). But with enough prompting and reminders you can usually get it there. But at a certain point, you’re better off taking whatever busted code it gives you and just fix it yourself.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: