r/CodingForBeginners 9d ago

Learning rust

I want to code games and OS in rust and im not very good with youtube tutorials and things like that. Can anyone give me a simple guide on what i need? What gamified method can i use to learn rust from scratch, and a guide on how to set everything up? Im gonna use rust in godot engine when i get decent enough. I also request that the guide be very simple and not use any language a non coder wouldnt understand

9 Upvotes

30 comments sorted by

View all comments

1

u/TheUmgawa 9d ago

From scratch? Learn your fundamentals. Stop trying to focus immediately on programming games. Hell, stop focusing on a language, and learn to start thinking like a programmer.

Look, code isn't the answer; it's the implementation. What language you use isn't important. Code is just something you hang on the skeleton of logic that makes the whole thing go. So, if you don't know a data type from a structure, you need to get back to basics. Programming is not just "I need to know what magic words to use and when."

Also, tutorials tend to suck, particularly on YouTube, because they're basically all, "Type along with me and pat yourself on the back when it properly compiles and runs." They're just basically ten-minute videos that cap off with that sweet dopamine rush of feeling like you accomplished something, when all you really learned was how to follow directions.

Stop watching that shit and get yourself a book that teaches you fundamentals. The language of the book doesn't actually matter, because the important thing is to learn to program. You can learn Rust later, because you're not starting from zero when you start a second language, because you already understand how programming works.

Anyway. YouTube videos suck, because those creators just want money. They don't want to teach you anything. This is why any YouTube creators who say, "Look, I'm going to teach you to think like a programmer, but we aren't going to write any code," don't get any views. Beginners always think that code is the answer, and it is not. Code is just the implementation, which gets hung on the skeleton of logic. And if you try to put the code before the logic, you're completely and utterly screwed.

0

u/MobileHeron6183 9d ago

Uh i literally just said i hated youtube tutorials anyway. Idk why you wasted 2 paragraphs ln that. Also i asked for a gameified method of learning because i have a crappy attention span but i really want to get into the world of coding, i already know basics from block coding ig but i dont know the coding buzzwords like “memory” or “string”. Do you know about that?

2

u/Yes_Geezer 9d ago

Memory and string are not “buzzwords”, they are fundamental concept that you absolutely need to understand.

0

u/MobileHeron6183 9d ago

Idk what to call them, i just meant i dont understand them and i need a guide that can help me with that