Odin And Who It Is For🔗
Odin is an unabashedly procedural general purpose data-oriented programming language with manual memory management, rich standard and vendor libraries, fast compile times and sane, albeit opiniated rules. The language is coherent and beautifully architected. Unlike most hip and modern languages, Odin doesn't really have anything super cool or fancy going for it. Pragmatic by design, Odin improves on paradigms that stood the test of time instead of reinventing them. It gives you the tools you need to write good software and then gets out of your way.
I will not try to sell you on Odin, because I can't. The language will speak for itself if you give it a go, but the "why" is very difficult to explain to someone unfamiliar with it. GingerBill, the creator and main architect of Odin writes about this in his blog post, "Marketing the Odin Programming Language is Weird", so I will refer you to that instead.
If I had to summarise Odin in a sentence, it would be this:
Odin lets skilled developer write high quality software conveniently, while reminding us just how fun programming can be.
About This Guide🔗
This guide aims to make learning Odin easy and makes no assumptions about prior programming experience. Whether you're a hobby programmer just starting out or a senior developer with a dozen languages under their belt, this guide should let you pick up Odin without issues. Given this goal, the guide may be too descriptive or overly explanatory when it comes to even basic concepts. If you are already knowledgeable about a given topic, feel free to skim ahead.
Most chapters include exercises to help you internalise your learnings. To get the most out of them, try to type out every example by hand instead of copying and pasting it. Manually writing out the syntax helps build muscle memory and forces you to pay attention to what the code is actually doing. I also encourage you to play about with the examples. Break things intentionally by changing a type, dropping a value etc. to see how the compiler reacts. Treat them like a baseline that lets you experiment and apply the things you learned.
And most importantly, have fun!