nim-basics
nim-basics copied to clipboard
Source files for Nim basics tutorial
From discord: > [3:50 PM] yumi: how about a little section on how to parse command line parameters? [3:50 PM] yumi: i was using commandLineParams().contains because the first result for...
From https://github.com/narimiran/narimiran.github.io/issues/1 by @nixfreak: > Anyway you can add "Tables" especially with procs? > > Thank you for great book on nim.
> If we also need to have an iteration counter (starting from zero), we can achieve that by using for , in : syntax. This is very practical if you...
A suggested addition to `Basic Data Types -> floats` (or maybe its own sub-section) An extended example with two operators of the same precedence, e.g. ``5.0 * 3.0 mod 10.0``...
As the epub and pdf are generated files, it makes sense to put them in releases rather than in git - git isn't really made for that, and releases can...
How to translate to another language? I forked original to my GitHub and opened selected `russian` branch. Should I send pull requests? Are any limitations exist related to copyright/left, for...
I think structs could very simply be described to some degree in the basics section
I'm very experienced, and this tutorial really brought up to light quickly the syntax differences of nim. I don't think this is "not for advanced folks". Perhaps there is a...
Your font has something weird going on with "fi" sequences. My guess is its because the font you are using has ligatures, usually there's a version of the font without...
The section on tuples only shows how they are initialized, not how they can be declared with `tuple[: , ...]`. This notation wasn't shown until [Procedures exercise 3](https://narimiran.github.io/nim-basics/#_exercises_4).