* Posts by nigkettle

3 posts • joined 1 Sep 2015

Linus Torvalds in sweary rant about punctuation in kernel comments

nigkettle

There may be a reason..

..But it's not a good one. Leaving code like that means that at a glance I can't tell that it's commented out, especially if it grows beyond 2 lines. And any good editor will either be able to un-comment it for you or let you define a macro to do it in no time.

And in production code it does boil down to readability .. but readability for *everyone*, not just the author, and standardisation certainly helps with that.

WIN a 6TB Western Digital Black hard drive with El Reg

nigkettle

ctrl ... alt ... hmm ...

Another chance to win a 6TB Western Digital Black hard drive

nigkettle

Barney! Help! Somebody's installed Windows 10 on my laptop!

Biting the hand that feeds IT © 1998–2019