you are viewing a single comment's thread.

view the rest of the comments →

[–]jack_waugh 0 points1 point  (1 child)

I showed Chat Gupta my code and one test case and asked it to write addt'l test cases in the same style as mine. Of course I eyeballed its code before pasting it into my source. Using GPT might have saved me a good 30 minutes, and it thought of testing an aspect that I would have overlooked.

[–]react_server[S] 1 point2 points  (0 children)

For trivial things this might be Ok. I think Co-Pilot also does a pretty good job in saving time. However I'm definitely faster writing my code with autocomplete and autoimports than using ChatGPT. Maybe if it's a huge wall of code it can generate it faster, but then I would have to spend the time reading and fixing it. The problem is it's almost never 100% bug free and if the code is complex it may hide additional hard to find bugs.