Timeline for One line #if statement
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 19, 2016 at 12:43 | comment | added | Leandros |
Well, to be honest, the first one is not good either. Conditional compilation compilation should not be resolved by guarding every single usage with a preprocessor guard. It'll just create unreadable code. The Vim source is one good example which comes to mind, it has #if sprinkled over the whole codebase.
|
|
May 19, 2016 at 9:43 | history | answered | Lundin | CC BY-SA 3.0 |