Copyright
Brief Table of Contents
Table of Contents
Preface
Acknowledgments
About this Book
About the Author
About the Cover Illustration
1. The basics of Nim
Chapter 1. Why Nim?
1.1. What is Nim?
1.1.1. Use cases
1.1.2. Core features
1.1.3. How does Nim work?
1.2. Nim’s benefits and shortcomings
1.2.1. Benefits
1.2.2. Areas where Nim still needs to improve
1.3. Summary
Chapter 2. Getting started
2.1. Nim syntax
2.1.1. Keywords
2.1.2. Indentation
2.1.3. Comments
2.2. Nim basics
2.2.1. Basic types
2.2.2. Defining variables and other storage
2.2.3. Procedure definitions
2.3. Collection types
2.3.1. Arrays
2.3.2. Sequences
2.3.3. Sets
2.4. Control flow
2.5. Exception handling
2.6. User-defined types
2.6.1. Objects
2.6.2. Tuples
2.6.3. Enums
2.7. Summary