Re:Lisp-Stick on a Python
by TurboHaskal on Wednesday November 16, 2022 @09:03AM
(#33623041)
That looks pretty good honestly!
As someone who loves both Lisp and Pascal, I really need to revisit Nim.
You sound like you are in just the right demographic to love Nim...The Forum [1] is a good place to get support.
EDIT: To elaborate on my `quote do:`, this is a little macro to avoid doing many tedious code repetitions:
with an example call: which will expand to code like: Maybe that's one man's "syntax soup", but I don't think it's so bad. (My 3 letter idents are probably worse!)The static typing of Nim (rather than gradual typing defaults like Lisp or Cython) tends to make beginner programs less "performance cringe" (as long as they compile with `-d:release -d:lto`!).
[1] https://en.wikipedia.org/wiki/Off-side_rule