Reply to post: Re: Well there is a point to this

Linus Torvalds in sweary rant about punctuation in kernel comments

Anonymous Coward
Anonymous Coward

Re: Well there is a point to this

If you have written nice straightforward code that is not too "clever", then another developer hunting down a bug should easily be able to work out what it does.

The purpose of the comment is to explain what your code is intended to do.

The developer can then compare what your code is trying to do with what it actually does and decide whether you have cocked it up.

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