2014年1月27日 星期一

寫好程式碼


引個言…

傻瓜都能寫出電腦能理解的程式。優秀的工程師寫出的是人類能讀懂的程式。
(Any fool can write code that a computer can understand. Good programmers write code that humans can understand.  )

--Martin Fowler

如果您是團隊的技術領導者、架構師,記得蒐集、研磨一份 coding guideline,讓您的團隊在有所拘束下,養出好的寫碼習慣。

幫點小忙,把一些現有資源列出來:

Coding Guidelines for Cocoa
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Code Conventions for the Java TM Programming Language
Code Style Guidelines for Android Contributors

真的,寫一份有規矩的程式碼,會讓大家的日子都好過很多!


一個人寫的爛軟體將會給另一個人帶來一份全職工作。(Jessica Gaston)
One man’s crappy software is another man’s full time job. (Jessica Gaston)


沒有留言:

張貼留言