Hacker News new | ask | show | jobs
by leobg 1224 days ago
So how about just prompting it with the task of not only producing the code, but also test cases to go along with it?

Somebody please make a SaaS out of this idea, with a fancy tailwind sales page and a “generous free tier”. :-P

1 comments

Now you have to check generated code and generated test cases for correctness, instead of just code.
yes that's true, and sincerely keep going with that maybe another pass could do code review

maybe an elaborate workflow, but each individual step in that workflow isn't insurmountable

if you cannot get the correct answer in one shot, instead a workflow is required, we should just write off this whole thing as useless or setup that workflow? will let the reader decide