News for hackers. Stuff that matters.
Re:Mastering Nim, 2nd edition by michaelsbradley on Wednesday December 06, 2023 @09:56AM (#38544637)
Can you give examples?

In my experience, Nim macros (but not templates) can succumb to verbosity in their implementations because manipulation of the AST is generally imperative and can become quite involved in the details of syntax nodes.

Other than that, with the expressiveness of type definitions in Nim, my experience has been that routines often end up short and dry. Learning to wield helpers such as {.push.} and {.pop.} can be helpful in that regard, just depends on what you’re doing.

Re:Mastering Nim, 2nd edition by DeIlliad on Wednesday December 06, 2023 @05:33PM (#38550416)
It's been a long time so I can't give you specific examples. I'll take another stab at Nim and see if I feel the same way.