4 ms·
Actually, in Nim almost everything is an expression, including if blocks, case, and even except blocks. Together with immutable "variables" (let) this encourag
by captainmuon 10y ago
Actually, in Nim almost everything is an expression, including if blocks, case, and even except blocks.
Together with immutable "variables" (let) this encourages a pretty functional style. I'd just wish their support for lambdas and list comprehensions would be a bit better.