HACKER Q&A
📣 sierra118

Using ChatGPT to Code


Hi everyone. I wanted to get an opinion on this and was hesitant to ask this on reddit as people there can be hostile to the question I am asking.

I am currently developing a game in Godot 4. I am primarily an artist and writer, so coding does not come naturally to me. I understand the basic concepts of GDscript and the syntax of it - I really just have, "where do I even begin" problem.

I needed to make a 3D character controller for my MC and while I knew what functions I would need and such, I opted to use ChatGPT to code it and it was mostly flawless (I had to tinker it a little for my liking).

I know that as my game gets bigger, this method likely won't work, but I see it akin to sketching. I feel a little guilty. Any advice?


  👤 theGeatZhopa Accepted Answer ✓
Don't use GPT but rather learn to code in GDscript manually first. It will come to you, even you don't have a clue where to start. The start is often a problem.

But, use GPT to help you write in a manner "I need this. Do this. Explain the code line for line. I want to learn the GDscript so show additional information for me to understand and may be make some small exercises for me after I say "let's try this""

I learned python with Google. Then turned to GPT. One Thing I noticed:

After usage of GPT my coding skills went south. I'm capable of doing more, more pythonic code, I understand almost all code. But I can't write it fluidly anymore after GPT. that's why I say learn it manually.