Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: