Re:“Chat GPT went down and 25% of my team could not work.”
by varispeed on Thursday February 23, 2023 @12:45PM
(#34913833)
It's good to employ TDD for this. Write a test and then ask ChatGPT for a solution. If it fails the test tell it and it will come up with fixes.
Sometimes it is not perfect and a couple of times I had a case where ChatGPT couldn't code something and it would go into a loop coming back to the permutation of wrong answer over and over. Most of the time starting over with different prompt describing the same task in a different way fixes it.
If you didn't code it you REALLY need to be thinking about edge cases, etc. ChatGPT (or stack overflow for that matter) makes tons of mistakes, at least as much as your average human.
Personally I find it harder to validate the behavior of code I didn't write than code I've gone through the creation process of myself.