why use nim over c#?

2023-03-09 Thread Lite3000
Personally I got a time of 2 milliseconds in Nim where the test timed out in this benchmark. I wouldn't trust those benchmarks. Looks like there's a saboteur afoot.

Can I add Procs to Enums in Nim like in Python or Rust?

2023-03-04 Thread Lite3000
Here is Python syntax for adding methods to Enums in Python. Declaring enumerations in Python is like declaring a class, but that class automatically has type checking as well as other features, which reduces the complexity of the code: The Rust language can also attach functions to enums throu