內容來自:
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,那當然是希望奇怪的格式愈少愈好....)