Nim basics
Free

Nim basics

By Miran
Free
Book Description

NimĀ is a relatively new programming language which allows users to write easy-to-read high-performance code. But if you are reading this Nim tutorial, the chances are that you already know about Nim.

Who is this for?



  • People with no or minimal previous programming experience




  • People with some programming experience in other programming languages




  • People who want to explore Nim for the first time, starting from scratch



Table of Contents
  • Installation
    • Installing Nim
    • Installing additional tools
    • Testing the installation
  • Naming values
    • Variable declaration
    • Immutable assignment
  • Basic data types
    • Integers
    • Floats
    • Characters
    • Strings
    • Boolean
    • Recap
    • Exercises
  • Control flow
    • If statement
    • Case
  • Loops
    • For loop
    • While loop
    • Break and continue
    • Exercises
  • Containers
    • Arrays
    • Sequences
    • Indexing and slicing
    • Tuples
    • Exercises
  • Procedures
    • Declaring a procedure
    • Calling the procedures
    • Result variable
    • Forward declaration
    • Exercises
  • Modules
    • Importing a module
    • Creating our own
  • Interacting with user input
    • Reading from a file
    • Reading user input
    • Dealing with numbers
    • Exercises
  • Conclusion
    • Next steps
The book hasn't received reviews yet.
Also Available On
Categories
Curated Lists