by icy · 5y ago · 0 comments
I wish Go just got something like Lisp macros that could work compile-time only. Running macros at run-time isn't really the big deal, but generating code in the same language and context as the normal code is a big deal.
Adding generics really doesn't help much here..