Reply to post: How do I get <tt> to work?

Linus Torvalds in sweary rant about punctuation in kernel comments

J.G.Harston Silver badge

How do I get <tt> to work?

While in general I tend to comment as per Linux, I do right-justify stars if they are comments on the end of a line. See past the formatting, something like this:

switch(n) {

....case 1: one(); */.one...*/

....case 2: one(); */.two...*/

....case 3: one(); */.three.*/

....case 4: one(); */.four..*/

....}

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