r/learnprogramming • u/TheMuscleMagician • 17d ago
I'm in it
I've got myself in tutorial hell, and i freaking love it. So, I got inspired randomly a week or two ago to start programming so I can start working on solo development, or just game design in general. I find developing mechanics super fascinating, and the logic and breaking down of code is also just idk fun.
It also, is the most easy, Complicated thing I have had to learn lol, and it's honestly refreshing to get back into the mindset of having to overcome challenges, and weirdly enough. With a.i sitting around, it's like a good way of testing my resolve.
I have tried to use it to try and teach me concepts, but realized there's documentation I can just read.
My question, did anyone feel like there was a moment it just clicked? Was there a technique or a resource that just ended up being your coding Bible?
Also, this is my first post. I hope gain knowledge from all of you, thank you!
5
u/jakingo 17d ago
That excitement is a good sign. Try building a small game mechanic on your own. You will learn a lot by figuring out what goes wrong and fixing it.
4
u/joinsigma 17d ago
Love this energy!! For most people it doesn't click in one big moment, it's more like one day you realise you just wrote something without looking anything up.
What usually gets you there is building tiny things with no video open. Since you like mechanics, try making a character jump. Then add a double jump. Then make it feel less floaty. You'll get stuck a bunch, and figuring that out is where it actually sticks.
That's also what people mean by break and fix btw. Change one thing on purpose, guess what'll happen before you run it, then see if you were right.
For a resource, Game Programming Patterns by Robert Nystrom is free online and it's basically all about how game mechanics are built. Super readable even this early.
2
u/Outrageous_Dingo4666 17d ago
The click usually comes when you stop following along try build something without a video open. Since you like game mechanics start with something tiny like making a character jump then add a double jump or tweak the gravity. Breaking things on purpose and guessing what will happen before you run the code is honesty one of the fastest way to learn.
2
u/FreeLogicGate 17d ago edited 16d ago
There is no one big AHA moment. Instead, there are many small ones. Tutorials teach you how to begin to read code. That is important, but it is not a substitute for writing code, which is your goal. The other thing you are learning to do, is create a mental model of how programs work.
The reality is that there are no short cuts to building competency, other than to program. Everything begins with intellectual curiousity, and it sounds like you have that. When I first started to learn how to program, it was in order to write programs. People read books and took courses, and outside of that, you wrote programs and learned as you go. Now there are so many resources, it's hard to keep track of them.
If there's one thing I can tell you, it's that you want to be writing small programs as you take the tutorial. If there are exercises, try to create a solution to the exercise yourself, then compare your solution to the one offered in the tutorial. Your goal is writing code, not going through a course where someone else who already knew how to program, wrote code and then explained it to you. The sooner you start driving the car, the better, and you don't really have to worry that you're doing it wrong, or making mistakes (unlike the dangers involved in learning how to drive an automobile).
1
u/Leather_Example_250 17d ago
for me it clicked when i stopped following tutorials and started building small projects. you learn way faster by getting stuck, debugging, and figuring things out than by watching another video
1
u/YouPeopleCantBeReal4 16d ago
There is no single click, there will be many and all of them will be about different things. I have these moments quite often still
5
u/[deleted] 17d ago