3 ms·
I really disagree with the author's points about macros. If your language doesn't support macros you'll end up with programs that parse some arbitrary code and
by dom96 8y ago
I really disagree with the author's points about macros.
If your language doesn't support macros you'll end up with programs that parse some arbitrary code and generate code in the language you're working with. That's far worse than a macro system that at least works in the confines of a language's syntax.
- andy_ppp 8y agoYes I completely agree, I wish Golang would add compile time macros that have enough information to replace the desire some have for generics. It would make Go a much superior language as you would be able to supply a sensible amount of DRY to your code.