Skip to content

Is it ok to use some ai to help with coding?

So i've been working on my game for the past two weeks and i'm using some ai code because idk how to fully code in godot but im slowly learning through trying to do it on my own and having someone double checking it. Is that ok?

0 points19 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 38% up
Kind
Text
ID
1sty91v

Author

25
posts
23
comments
46
media
View profile

20 comments

Here’s the fact about AI: it works well as an “assistant” tool if you already know the subject well. 

If you don’t, it’s probably not going to help. You can’t learn if the AI is doing the work for you, and you can’t confirm the results without knowing how to do a thing yourself. 

I’d saying you’re in for a rough time if you rely on AI. Learn to program manually, then come back to it later. 

The hype about AI is very misleading (because that helps sell it). In reality, expert programmers can set up AI agents to help them work faster. When you read about companies “replacing” people with AI, that’s what happened — the best programmers figured out how to use AI, the rest got laid off. 

13 points

well you dont learn electrical engineering and kernel level software by doing regular programing. So by your logic you should focus on learning those tools and then come back to regular programing.

You dont need to learn how everything works. The important part of developing a game is making a game and AI is a godlike tool

-5 points

I don’t think I agree with your last point. I’d argue that learning how your game works is more important than it actually working.

Same goes development. If all you did was give prompts for AI to make your game, did you actually “develop” a game, or did you just learn how to prompt AI? The fun of game development is the system designing and solving the complex puzzle of programming to get your dream game. What’s left if you leave all to AI?

2 points

Think of it this way, the AI is a very smart Jr. developer who can type 5k words a min.

Left to its own devices or not given complete and accurate instructions it will generate 5k words a min of crap messy badly planned spaghetti code.

Paired with an experienced developer who can properly describe what the solution should look like and what types of algorithms might be appropriate and how it fits the in the rest of the project it’s incredibly powerful.

1 points

Yep. It's a tool to help you create code. Like any other code source though it's bad if you don't understand what the code does or how it works, so practice like you would in school and rewrite it "in your own words"

7 points

You don't need to ask permission lol, that's just weird. But if you are wondering if you should, it depends. It's a tool like anything else. 

If you're a newer coder I would definitely advise against it. You will end up using it as a crutch. You need to struggle and go through the painful process of learning to code, and AI can definitely review your code and help you learn faster. 

If you don't know what's going on in your code because AI has a ton of it, then it'll it'll become unmaintainable and an unsalvageable mess.

4 points
CoachCohnDeleted · saved before deletion

Yes it's ok. In fact, not using it is a detriment to your productivity. That being said, if you don't understand what it's writing, you should be asking it questions. If you just let it do all the heavy lifting you're going to be utterly screwed when it can't do something you want - which happens fairly often.

1 points

Bully AI into explaining every choice it makes. Every prompt remind it to add comments explaining everything.

Then try and adapt it. Try and change things and see if you understand why it does what it does.

If you understand the code, it's fine. If you're just pasting answers in you'll never be able to debug it when it inevitably goes wrong.

1 points

Besides other irl factors. Im an extremely creative person(probably comes from my autism) but absolutely suck at any coding. So 1000% yes im using ai for smaller projects

0 points

If you know how to fix the bugs it can introduce, I don't see why it is a problem. If you rely on it to the extent that you wind up with a codebase you don't understand and are at the mercy of AI to vibe code your way out of a particular problem, that is a sign to stop and relearn basic of programming and your framework.

0 points

It's fine to use AI tools, but as others have said, it works best if you already know the subject matter. But AI tools can also be phenomenal tutors if you let them. My suggestion: don't _just_ use AI to produce your game code. Also (at least some of the time) have it tutor you.

Something I've had great success with is telling a chatbot something like:
"I'm going to explain my understanding of [concept X]. Tell me what I'm getting wrong and what I'm getting right"
The ensuing conversation ends up being a really great way to make sure you actually understand the topic.

You can also ask for things like:
"I'm trying to [describe your problem]. Please don't just solve it, but instead guide me towards the solution"

IMHO, if you approach AI as a "do the thing for me" button, you're kinda doing yourself a disservice. Instead, use it as a tutor first, then as you ramp up your skills/knowledge, use it like a teammate or a colleague.

0 points

We don't know.

You are part of the first cohort that learns programming with AI available.

Come back and tell us how it went in 5 years.

0 points

I don't really think it's "not ok" (at least for learning a skill) but don't let it deprive you of a sense of satisfaction of building something yourself or taking the effort to connect with a community for help. AI doesn't really help when you don't know what to ask, and it's hard to get interesting feedback from it like you would from a person.

-1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.