January 17, 2021

Why Nim?

About a year or so ago I came across a promgramming language that I’ve never heard of before called nim which intregued me. It’s a statically compiled systems language. At first glance it looks pythonic. import strformat type Person = object name: string age: Natural # Ensures the age is positive let people = [ Person(name: "John", age: 45), Person(name: "Kate", age: 30) ] for person in people: # Type-safe string interpolation, # evaluated at compile time. Read more