|
|
|
|
|
by rcfox
5362 days ago
|
|
> What does prevent me from understanding code is 5-10 nested if blocks and insane logic checks without commenting. What's worse is multiple nested levels of #ifdef. Not only is it hard to tell how the code flows, but you can't even be sure it's all being compiled! I work with code like this so frequently that I actually got around to learning elisp so that I could write a function in Emacs to highlight the nested levels of #ifdef. I have a black background, so each nested level increases the brightness. (I should really get around to pulling that code off of my computer at work and putting it up for everyone to use...) |
|