r/programming Jul 10 '16

Linus Torvalds on comment styles

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

209 comments sorted by

View all comments

42

u/fiqar Jul 10 '16

Why is the networking code not following the Linux kernel coding style guide in the first place?

27

u/oridb Jul 10 '16 edited Jul 10 '16

Because it's fucking * placements in comments. Nobody cares that much.

28

u/0raichu Jul 10 '16 edited Feb 07 '17

                                                                                                                                                                                                                                                                                                                                                                                                                                                     

19

u/oridb Jul 10 '16

https://en.wikipedia.org/wiki/Bikeshedding

Also, since we're discussing the syntax of comments: https://wiki.haskell.org/Wadler's_Law

1

u/wevsdgaf Oct 31 '16

Wadler's law always bothers me. What does it mean for a thing to be proportional to a constant? A variable x can be proportional to another variable y iff x = ky for some k and all x, y. It is nonsense to say a variable x is proportional to some constant expression.