内容来自:
http://lkml.iu.edu/hypermail/linux/kernel/1607.1/00627.html
Linux的老爸Linus日前发信希望kernel开发者能避免
"残害脑细胞的愚蠢注解格式"
(brain-damaged stupid networking comment syntax style)
他只喜欢这三种:
(a)
/* This is a comment *./
(b)
/*
* This is also a comment, but it can now be cleanly
* split over multiple lines
*/
(c)
// This can be a single line. Or many. Your choice.
以下是他不喜欢or痛恨的:
(d)
/* This is an alternate multi-line format
that isn't horrible, but not kernel style */
no:
/* This is disgusting drug-induced
* crap, and should die
*/
no-no-no:
/* This is also very nasty
* and visually unbalanced */
Linus本人有自己的一套程式美学阿....
(当然,如果每天要看几万行code,那当然是希望奇怪的格式愈少愈好....)