Part 15 of the "Learning Nim" video series. Those videos are extracted from my livestreams.
In this video we continue through the "Nim by example" tutorial. We cover the idea of closures, their usage in form of "proc" and "do" syntax. We also cover usage of macros from the "sugar" module that resemble arrow functions.
Nim by example tutorial: https://nim-by-example.github.io/0:00 "proc" and "do" syntax
3:01 Writing own closure
6:17 AI not being helpful
7:34 Syntax sugar with macros
0 Comments