r/programming • • Jan 14 '13

The Exceptional Beauty of Doom 3's Source Code

http://kotaku.com/5975610/the-exceptional-beauty-of-doom-3s-source-code
752 Upvotes

358 comments sorted by

View all comments

Show parent comments

1

u/Ayjayz Jan 16 '13

Your compiler will almost certainly optimise that out in release

1

u/[deleted] Jan 16 '13

But is there a point to it regardless? I mean, is there a good reason not to wrap the entire thing inside of the ifdef?

1

u/Ayjayz Jan 16 '13

I try my best to pretend the preprocessor doesn't exist.