4 ms·
I guess this article is to be taken lightly as kind of a "joke" ? The first proposed macro displayln is the archetype of malpractice. What if I want to do: if
by dnpp123 7y ago
I guess this article is to be taken lightly as kind of a "joke" ?
The first proposed macro displayln is the archetype of malpractice. What if I want to do:
if(some_condition) displayln("enjoy debugging that");
etc etc... almost all proposed changes seem to be awful ?
- arianvanp 7y agoIt's a form of humour called sarcasm. It even has a convenient hint at the top to announce that it is "Let's destroy C"
- shakna 7y agoI think I was pretty explicit: > What if, for a moment, we forgot all the rules we know. That we ignore every good idea, and accept all the terrible ones.
- dnpp123 7y agoOw alrighty then. Looking at comments here I'm not sure some other people saw that sentence haha
- steerablesafe 7y agoI guess that's one of the reason of the do { /.../ } while(false) pattern in macros.
- samatman 7y agoYou've done a fine job of elucidating one of the many reasons why responsible codebases require braces for single-statement if clauses.