r/odinlang • u/DarekBomb411 • 15h ago
Where the hell are all the actually useful tutorials?
Hello, this is a half rant post and a half question post. I am a bit new to all this "low level programming" stuff. I first tried to learn zig, but it's problem is the same one that this post describes, taken to an extreme. I then tried Go and it was better but it still had the same exact problem, and I found its whole package model to be very annoying, and I wanted to try manual memory management. So I am now trying out odin, but it too falls short in one crucial area that so many others do as well. Eventually I got so fed up with this seemingly easily solvable problem that here I am, making a post just to shit on half of all programming languages in existence, as they all have it.
The problem is a lack of useful tutorials to help people learn.
To demonstrate, let's take me trying to learn zig as an example:
- I go on youtube and search up "zig tutorial"
- I find Zig Programming Language - Beginner's Guide by Coding with Tom, and click on it as it seems nice.
- 0:58 "This tutorial will assume you know the basics of programming." Okay, that's nice. I have already worked with Lua for a long long time and dabbled with Python and JavaScript a little bit.
- 6:20 "We will need a main function...the return type will be void...it needs to be marked as public because every zig file will become a struct" See right here is the problem. They assume we already know some concepts and therefore do not explain them. As such, they fail to explain to me (someone who has never used these lower level concepts much) what 'main function,' 'void return type,' 'public,' 'struct,' etc are. You really expect me to know what this stuff means? No this is stupid.
- I decide to try and find a better tutorial that actually covers the fundamental concepts and is truly for beginners like me.
- I click on and watch the next 6 different tutorials and see they have the same fundamental problem I just described.
- I decide to try going to non youtube places to find guides, but alas I was not able to find any suitable ones, only similar variations to what I have seen before.
- I decide learning zig is not possible due to lack of good tutorials and find a different language.
I then decide that Go might be a nice language. I hear people talk about it:
- I go on youtube and search up "go tutorial"
- I find Go (Golang) Tutorial for Beginners playlist with 22 episodes. I figure it must contain a lot of content if it is that long, so I click on the first one.
- Guide is quite nice and I watch all of it, although I do wish it did talk about some topics more like arrays and pointers and such. Has less of the issue than the others
- Try to make a program to edit images in Go
- Cannot figure out how (may be skill issue though)
- Eventually decide to move on due to not being able to figure out how to edit non text files + not liking the very forced package system much
I then move on and try out Odin, as apparently its similar to Go:
- I go on youtube and search up "odin tutorial"
- By now I am not expecting anything super useful other than giving me a small added amount of knowledge
- First like 4 guides immediately skip past stuff like "what is main function," "how does import and package work," and say "I assume you know X because you have coded before" Like great thanks, is someone gonna come tell me any of this stuff at some point? Is it supposed to come to me in a dream?
- I try to make a small game in Odin to learn but suprisingly, I don't know how this happened, but for some reason I have not yet learned how structs and arrays and manual memory management and code in the root of the file and how functions pass by value always and more things needed to make even a basic platformer. I seriously wonder how this could have happened. It couldn't possibly be because LITERALLY NOT A SINGLE SOUL IN THE ENTIRE PLANET thought about "lets make a tutorial for beginners" and then actually made it for beginners by not assuming any prior knowledge at all.
- At this point I am so fed up with my lack of knowledge that I come here to make this very post to shit on these languages and the people that make these tutorials for advertising "simplicity" and "fun to use" and "easy to learn" without having even a SINGLE resource to learn them that is actually helpful for beginners. It seems a bit counter-intuitive and hypocritical.
As you can see, I am a bit upset just in general. I can and have made a 16 bit computer by hand out of logic gates (in a logic simulator, i dont got money for breadboards) but cannot make a simple flappy bird clone because apparently no one knows how to teach people anything. This is bullshit. I'm done. I quit. I'm deleting my flappy bird. Was pretty shitty anyway.
The moral of the story is simple: People who are great at a subject cannot teach it for the life of them, and people bad at a subject are amazing at teaching it. Almost none can do both.
So that brings me onto my final point: can anyone prove me wrong? Does literally anyone know of a tutorial/guide for odin (well maybe others but I preferred odin the most out of these three) that truly does start from the basics without assuming I know X Y or Z ahead of time? (because clearly I don't)
Maybe this is just a skill issue on my part, and I'm just a bit dumb. Maybe I'm not. I don't know. That is why I made this post.
Thanks
EDIT:
Yes I did read through the documentation overview/getting started but as I said in one of the comments, "I find it to be just a plain list of features for already experienced people to read (hence the frequent C/C++ references) and not as something for people like me to learn stuff"