Hi elmonkey,
Have a look at:
http://rosettacode.org/wiki/Category:Nim here you can see, how common problems are solved with Nim.
Then also: http://ssalewski.de/nimprogramming.html A book about Nim.
Make sure to also read the manual and tutorials from miran's link.
Another good advice is to just read others code, so you'll get familiar with the style Nim is usually written.
Hi and welcome!
Feel free to join the discord/irc and ask questions if you get stuck!
If you're already familiar with programming in other languages and just want to learn Nim, the Nim Tutorial is quite good! https://nim-lang.org/docs/tut1.html
Get yourself a book "Python Crash Course 2nd Edition", read it with Nim tutorial part 1, And Nim for Python programmers from Nim Wiki on github. Translate yourself code from Python and write it as Nim, there are some differences but it's really easy to spot them. And of course do the exercises from the book. They are the most valuable.
And the last thing - read runnable examples from modules in Nim stdlib. They have nim snippets that are ready to run and use.
Get yourself a book "Python Crash Course 2nd Edition"
please don't do this...
Nim already has something great for beginners: http://ssalewski.de/nimprogramming.html
But I took Python book for plenty of easy exercises.
The exercises from Miran book was too hard for me and tutorial goes too fast.
But of course these sources are great and I'm sure that would stay usefull for future Nim newcomers.
The exercises from Miran book was too hard for me and it goes too fast.
Can you get in more detail, please?
What would make the exercises easier? What would "slowing down" be: more examples, more explanations, both, something else?
I find the code listings with explanations with numbers very useful, and personally think that these should be even more. If you would like to expand this text in the future a good idea in my opinion would be to add chapter about basics of TDD, and how beginners could write tests to test their knowledge - either with asserts or unittest library(I did't use testament - maybe it would be better).
E.g: for python dict you use nim json module.
Python's dicts can/should be replaced with Nim tables. I think I have never used json module for that.
Yes, I was referring to multiple types as values.
Probably not good idea to use it like that, but curiosity won :)