一直以来强调的是规范,但是不能自动检查是一件很痛苦的事情,下面的网址针对这点进行了部分解答,
在制定规范流程时,一定要有合理的检查手段,最理想的方式是通过工具自动完成。
http://stackoverflow.com/questions/2441917/are-there-any-lint-tools-for-c-and-c-that-check-formatting
一些想要的工具原来真的已经存在,国外已经有人问了,还是用英文搜索能够找到想要的结果~
SourceMonitor-like tool to analyze iPhone / Objective-C Code
答案是:Clang Static Analyzer
Is there any static code analysis tool like checkstyle for Objective-C?
http://stackoverflow.com/questions/3385764/is-there-any-static-code-analysis-tool-like-checkstyle-for-objective-c
http://clang-analyzer.llvm.org/scan-build.html