Tip: Names for variables and methods/functions Tip: Comments may be misleading Tip: Separate method/function for each task Tip: Separate classes if possible Tip: Don't repeat yourself Tip: Handle the exceptions Tip: As few arguments for functions as possible Tip: Leave SOME whitespace http://compiledk.blogspot.tw/2012/12/writing-clean-and-understandable-code.html
No comments:
Post a Comment