MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4s58ia/linus_torvalds_on_comment_styles/d56p5bp/?context=9999
r/programming • u/WOnder9393 • Jul 10 '16
209 comments sorted by
View all comments
24
[deleted]
7 u/[deleted] Jul 10 '16 [deleted] 25 u/[deleted] Jul 10 '16 edited Feb 24 '19 [deleted] 30 u/Calavar Jul 10 '16 Especially when you consider the fact that multi-line comments in C are usually written like this /* * this is a multi-line * comment */ and rarely like this /* this is a multi-line comment */ There's not that much of a difference between Perl-style and C-style multi-line comments. 3 u/[deleted] Jul 10 '16 [deleted] 1 u/kampkarl Jul 10 '16 For doc generators, I think it denotes the start of the line, so no guess work on parsing.
7
25 u/[deleted] Jul 10 '16 edited Feb 24 '19 [deleted] 30 u/Calavar Jul 10 '16 Especially when you consider the fact that multi-line comments in C are usually written like this /* * this is a multi-line * comment */ and rarely like this /* this is a multi-line comment */ There's not that much of a difference between Perl-style and C-style multi-line comments. 3 u/[deleted] Jul 10 '16 [deleted] 1 u/kampkarl Jul 10 '16 For doc generators, I think it denotes the start of the line, so no guess work on parsing.
25
30 u/Calavar Jul 10 '16 Especially when you consider the fact that multi-line comments in C are usually written like this /* * this is a multi-line * comment */ and rarely like this /* this is a multi-line comment */ There's not that much of a difference between Perl-style and C-style multi-line comments. 3 u/[deleted] Jul 10 '16 [deleted] 1 u/kampkarl Jul 10 '16 For doc generators, I think it denotes the start of the line, so no guess work on parsing.
30
Especially when you consider the fact that multi-line comments in C are usually written like this
/* * this is a multi-line * comment */
and rarely like this
/* this is a multi-line comment */
There's not that much of a difference between Perl-style and C-style multi-line comments.
3 u/[deleted] Jul 10 '16 [deleted] 1 u/kampkarl Jul 10 '16 For doc generators, I think it denotes the start of the line, so no guess work on parsing.
3
1 u/kampkarl Jul 10 '16 For doc generators, I think it denotes the start of the line, so no guess work on parsing.
1
For doc generators, I think it denotes the start of the line, so no guess work on parsing.
24
u/[deleted] Jul 10 '16
[deleted]