4 ms·
What works in a toy example doesn't necessarily scale / handle corner cases.
by sacado2 3y ago
What works in a toy example doesn't necessarily scale / handle corner cases.
- lunfard000 3y agoIn my experience, ChatGPT is better at managing corner cases than your normal SO or book example.
- tjpnz 3y agoOr is just plain wrong. Asked for an example a few days ago on how to mount a secret as a file on ECS. The example it gave was for Kubernetes.
- Kim_Bruning 3y agoThe best description I've heard is that ChatGPT is like a really fast and really eager junior programmer. Sure you can delegate a lot of work to it, but you have to keep a close eye on it to make sure it doesn't go off the rails (and doesn't forget to take corner cases into account, uses appropriate algorithms, etc) . I tend to read along with the code it's writing and make suggestions when I see it's missing stuff, or I fill it in myself afterwards, depending. For one it can type out the annoying bits much faster than I can! At the moment I do keep the general plan in my head myself though, and I thoroughly read anything it generates before I run it.