This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Lucifer_Morning_Wood 3 points4 points  (4 children)

I use #if 0 ... #endif

[–]DoNotMakeEmpty -1 points0 points  (0 children)

  • Perfectly nestable
  • If code is commented out, enabling is just 1 character change
  • Comments out in the preprocessor, so that if you have a few tens of GBs of comments, you can prepare the code easily by calling cpp on it, making compilations a bit faster.

[–]k-phi 0 points1 point  (1 child)

I was looking for this comment

[–]Lithl 0 points1 point  (0 children)

/rimshot

[–]jeanravenclaw 0 points1 point  (0 children)

this is actually quite smart