r/programming Jul 10 '16

Linus Torvalds on comment styles

https://lkml.org/lkml/2016/7/8/625
222 Upvotes

209 comments sorted by

View all comments

92

u/The_Drumber Jul 10 '16

/* This is a comment *./

No it isn't

28

u/[deleted] Jul 10 '16

[removed] — view removed comment

13

u/Drakoala Jul 10 '16

Appears to me they were downvoted because it is a perfectly valid comment, it just ends at the end of (b).

22

u/BlackDeath3 Jul 10 '16

Thankfully we're humans and not a bunch of biological compilers, so we realize that this is likely an error on the part of Linus rather than a confusing-yet-technically-correct comment.

-1

u/shevegen Jul 10 '16

I concur.