Re:Pros and Cons of Nim
by The_rationalist on Thursday May 28, 2020 @09:14AM
(#23336837)
Why macros vs decorators?
[ Parent
| on HN ]
I think you basically covered it in your other comment. Macros are much quicker and easier to write than compiler plugins or annotation processors, but they are difficult for the IDE to understand. So it's a trade-off where Nim and Kotlin both make reasonable, but quite different, choices.