I'm using GPT to write C++ code for me. I've never worked in C++ before. It's going very well.
I'll describe what a class is supposed to do. It spits out the class files, with the fiddly bits 'left as an exercise to the reader'. I then describe the fiddly methods separately, and it spits those out too.
There's still work to be done, but anything boring is handed to me on a plate.
Chances are (no offense meant) that youre writing shit code. Its very easy to write platform specific, UB ridden code in C++, and ChatGPT loves doing that.
I'll describe what a class is supposed to do. It spits out the class files, with the fiddly bits 'left as an exercise to the reader'. I then describe the fiddly methods separately, and it spits those out too.
There's still work to be done, but anything boring is handed to me on a plate.