3 ms·
Macros and (nigh) mandatory code generation and boilerplate are proof your language sucks. It might go fast, but it sucks.
by birdyrooster 4y ago
Macros and (nigh) mandatory code generation and boilerplate are proof your language sucks. It might go fast, but it sucks.
- quickthrower2 4y agoIt might prove that the language has decided not to have too many language features.
- kastagg 4y agoDoing some calculations at compile time is useful. What sucks is when the language for expressing this is difficult to think about and interacts poorly with normal code.
- zelphirkalt 4y agoWhat sucks much more is, when one cannot extend the language properly and it needs a language commitee to change anything. Or when the way to extend it is so mistake and error prone, that one cannot get it right, needs many eyes viewing it for a few years, before it becomes probably correct.
- logdahl 4y agoI dont know, I see macros and code generators as the one tool to battle boilerplate. Functions often have boilerplate syntax rules. Macros do not :^)