• 1 Post
  • 2 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle

  • I’ll tell you how I do it. That doesn’t mean it’s the best way or anything like that. First, you need to have plenty of unit tests (which the AI can also help with); that ensures that even if the AI makes changes, it has to do so under strict rules. Then, it’s also best to have a technical specifications document where you outline what you want to do and under what conditions.

    From there, the next step is to run a thorough set of running tests on the results generated by the AI (because it’s faster than reviewing the code itself). Then, once you have something consistent, you can start tweaking the code yourself.

    Ultimately, what I always do is let the AI write the commit message. It’s infinitely better than me summarizing the change, and it’s even easier for me to read.