Reply to post:

Linus Torvalds in sweary rant about punctuation in kernel comments

GrumpenKraut Silver badge
Boffin

> ... just remove 2 lines.

Way too much work.

#if 1

...code...

#endif

Now I need to change 1 to 0 to "comment out" that code. With an additional #else I use this to switch between different code versions, such as "slow but obvously correct" and "highly cryptic and powerful".

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019