Lately, I find that GPT-4 has an harder time grasping complex applications / usecases going away from CRUD screens.
After reading this comment [0], I figured some tools may be more suited that ChatGPT, especially regarding development.
Do you use any tool, self hosted or not, to help you develop and code ?
[0] https://news.ycombinator.com/item?id=36676470
Quite a few people I know have given up on using Chatgpt for code because it rarely gives you the right answer (or a working one) the first time. It takes some shaping.
I find that if you treat it more as a pair programmer that is doing the driving, and you just guide it and tell it when it makes mistakes/is doing something you don’t want, it usually get the result you want, and faster then if you wrote it yourself.
Code I write is mine in the eyes of the legal system.
Not sure what the legal status of model generated code is.
I also can't be sure what will happen to the information I expose in my prompts, so I have to expect that it is not safe if it is secret/proprietary.
As others have pointed out, it's ill-advised to directly put ChatGPT output in any production code for many reasons.
It usually gives me either a working example or enough information to create one myself. I never paste my code into a prompt and rarely copy generated code.
Edit: So in this way of working, the focus is less on having ChatGPT spit out a working application and more on explaining how the component works.
I have tested it with Go and Python and it makes mistakes.
But here is where I find it useful. When I am not sure if a particular Python module exists, I ask it for that. Most of the time it can point me to one or more modules in pypi.