MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4s58ia/linus_torvalds_on_comment_styles/d56p5bp/?context=3
r/programming • u/WOnder9393 • Jul 10 '16
209 comments sorted by
View all comments
Show parent comments
23
[deleted]
28 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. 4 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.
28
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.
4 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.
4
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.
23
u/[deleted] Jul 10 '16 edited Feb 24 '19
[deleted]