Showing posts with label coding style. Show all posts
Showing posts with label coding style. Show all posts

Thursday, February 11, 2010

Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

Martin Fowler

Tuesday, October 20, 2009

Entities must not be multiplied beyond necessity.
Occam's razor

Wednesday, October 14, 2009

Techniques that make good code look good and bad code look bad are more useful than techniques that make all code look good.
Steve McConnell, Code Complete, Second Edition

Monday, January 19, 2009

Most good programmers need to think twice to understand expressions with side effects. Let them use their brain cells to understand the larger questions of how your code works rather than the syntactic details of a specific expression.

Steve McConnell, Code Complete, Second Edition

Thursday, December 18, 2008

Goto labels should be leftaligned in all caps and should include the programmer's name, home phone number, and credit card number.

Abdul Nizar