3 ms·
This is exactly why you shouldn't code in C unless you absolutely have to. So many ugly boiler plates and macros.
by mastrsushi 7y ago
This is exactly why you shouldn't code in C unless you absolutely have to. So many ugly boiler plates and macros.
- colonwqbang 7y agoThere are myriad reasons why you might "absolutely have to" code in C. There are even a few reasons you might code in C even if you have a choice.
- codr7 7y agoI sort of agree with the first part, though some people actually enjoy having this level of control and flexibility even when they don't absolutely need it. I find chatty generic code where everything is nailed to the floor ugly, Rust, C++, Swift, Java etc. So I guess it depends on who you ask and their experience. There is nothing wrong with macros, though I definitely prefer the Common Lisp kind.