Linus Torvalds在Linux内核邮件开发者列表上再次发飙,将部分程序员偏爱的代码注解标点格式称为“脑残”。他强烈反对的注解格式类似:
/* This is disgusting drug-induced * crap, and should die */
和
/* This is also very nasty * and visually unbalanced */
他个人支持的格式类似:
/* This is a comment */和/* * This is also a comment, but it can now be cleanly * split over multiple lines */
原文来自:
本文地址://lrxjmw.cn/kernel-punctuation-freak.html编辑:王浩,审核员:冯振华
本文原创地址://lrxjmw.cn/kernel-punctuation-freak.html编辑:王浩,审核员:暂无