r/CodingForBeginners • • 17h ago

Advice to start coding

Hello everyone,

In my current quest of finding a hobby/passion, I’m passing by coding.
If I do this, it’s because making games/ helping makes games is something that I could really look for.

Now, before getting started, I’d like a lot of advice.

First, is there anything, like software, that I should get before starting my journey.
Then, what language do I start by?
I’ve did some vague research and what seemed the best to start were : Python, Lua, JavaScript. Again, I’m still new to this, so please tell me for each language why it is/isn’t a good choice and if possible propose another ones.
Finally, what tutorial? I’m pretty sure every coder started by a YouTube tutorial or something like that.
Also, if I’m doing this, it’s not to use AI. At all. I want to learn myself. That’s what I love about any hobby, and AI removes that. Even if it isn’t as efficient, I want to do it myself.

0 Upvotes

12 comments sorted by

1

u/Technical_Drink_846 16h ago

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Introduction#what_you_should_already_know

Start there. Assuming you have a PC you can open the developer tools (F12) in a browser and you get access to a JavaScript environment that you can run code it. It's great for learning because you don't need to install anything. You can save the code inside an HTML file.

Once you have a good understanding of control flow and JavaScript features you can download NodeJS to make desktop apps or websites.

1

u/Familiar-Quiet4370 16h ago

Maybe you'd like to look into Mimo the app? It offers fullstack training, the Odin project is also a good course. And if you'd like someone to learn with you I can offer to be a coding buddy. I have started both in those two platforms and stopped halfway.

0

u/Unknowingly_know1 16h ago

Mimo is better if you can pay for it, you get like two lessons a day since you got just two keys on the free version.

1

u/TGM-xlandc 16h ago

Hey, I am an experienced Unity dev and I have a community on Discord where I teach it for free. I'm happy to explain the basics. My Discord: llamawithak47

1

u/TimBrownDev 16h ago

I built a roadmap of the best practice problems I've seen to help teach python timbrown.dev/roadmap

1

u/xarop_pa_toss 16h ago

Lua is a very simple language that is both easy to read and write. It basically runs anywhere C runs (which is everywhere) and since it is so simple, it kind of "forces" you to come up with creative solutions for things.

For example, it only really has one data structure called a table. The table can pretty much be used for anything which means it is very adaptable. At first it might be kind of confusing how you are supposed to use it for X or Y, but when you learn these use cases you realize that this is what makes it so powerful. It's like learning to use only the three primary colors to make all the others instead of buying a set of 80 colored pencils. This kind of language level creative problem solving is something that will be extremely useful in all your programming endeavours.

Lua also has a bunch of great game development frameworks/libraries and communities that make game jams and stuff like that all the time. Search for Löve and Pico-8 for example. Balatro, which was a maaaassive success was completely made with Löve, and it doesn't even have a visual editor like Unity or UE have for example.

If you are interested in Lua, the discord servers for those game libraries are very active and the book by the creator of the language is totally free and is very nice too.

A final word of advice: programming is not easy. Take this as something that will take time. Be curious too! Break your code and fix it. Learn to use the debugger and understanding the errors. Don't give up!!

1

u/nullptr_0x 16h ago

I genuinely think that you should complete a basic programming 101 course. That structure is helpful and getting you grounded.

I'm biased, I have a free interactive course I made for some friends. It's Programming 101 in Python.

https://understandit.dev

This course give you little lessons and challenges you do directly in your web browser, but projects after each section are meant to be done locally on your own machine to gain the tools and experience of developing like any other software engineer would.

1

u/JoeStrout 15h ago

I wrote a paper comparing Python, Lua, and MiniScript as a first language:

https://test.miniscript.org/files/Strout_iSTEM-Ed2021.pdf

I didn’t include JavaScript, because yikes, that language is a mess 😅

I would advise you to start here:
https://introtocomputerprogramming.online/

This book is free, as is the development environment (Mini Micro) that it uses. You’ll be creating games with it in no time!

1

u/nacnud_uk 11h ago

If you're doing it for a hobby, then the best thing to create is something you want to create, something that gives you joy by creating it. That way, you're more likely to stick with it and learn. For me, that was Graphics programming. Demo effects. All that stuff. It was brill to find out how all of that worked, and was a great foundation for getting "real" work done.

Just google any of the classic effects and how they were done. Or port them to more modern ways. Or follow one of those Raytracing in a weekend kind of things. Depends how much depth you want to get in.

1

u/Still_Membership2640 4h ago

If your main goal is game development, I'd suggest starting with Godot and GDScript or C#. Godot is beginner-friendly and completely free. You don't need much software to start, just a code editor and the game engine. Try following a beginner tutorial and build a small game like Pong or Flappy Bird. Don't worry about learning everything at once. And honestly, learning without AI is a great way to develop your problem-solving skills. Just be patient and enjoy the process!

1

u/Gokudomatic 4h ago

Python on learnpython.org . Or Scratch if you prefer something more visual first.

1

u/undernamed1101 3h ago

If your heading in the direction of building video games, C / C++ will poetically become your best friends in the programming world.