I am currently new to godot. I have watched a few tutorials and am now using ai to learn the rest. If there is something i can’t figure out i ask it to tell me and explain what the code means and how to use it. Is this a good way to learn or should i be doing something else?
Highly recommend not using AI, and instead look up guides online, read the documentation, and experiment yourself. If you get stuck, ask people on Reddit or here on the forums.
By this, do you mean ‘ask the LLM to write the code, then explain what the code does’? Or do you mean that you found a chunk of code somewhere else, then ask the LLM to explain it for you?
The latter is fairly innocuous, the former not so much. LLMs will ‘hallucinate’ methods that do not exist, especially if they don’t have enough training data on a subject. Their training data also tends to be outdated. Ask it to generate some example code that uses signals, and there’s a good chance it will use old-fashioned Godot 3 syntax that uses strings for everything.
Personally I don’t think a professor with prodromal dementia who still thinks it’s the 1980s is the best teacher you could have.
I mean i will tell it my error, then have it give me what code will fix it and explain to me what the code does so i can learn how to use it and where to use it.
as long as you actually try the code & experiment, then it’s best way you can learn faster, AI is a tool and people forget it, telling not to use it and so on, but as long as you don’t literally copy paste code but try to learn, you’ll be good
I do not recommend using an LLM to learn. Because it will tell you the wrong thing. It’s explanations will seem to make sense, and there will be enough true things that you’ll feel you’re learning. But an LLM is not a search engine. It is literally a random word generator. It seems intelligent, but it is not. It will always sound like it’s teaching you things, but you do not know enough to know when it is wrong.
The official docs are really good, I’d highly recommend starting there and reading them when you get stuck.
I’d also recommend lurking in these forums even if you aren’t asking/answering questions. I’ve learnt quite a bit by reading questions that sounded interested or were tangentially related to things I’m using.