User login

coding

Duck Programming

http://unspace.ca/blog/duck-programming/

Duck programming is manageable. It starts with recognizing that while it may be designed to be carried out by people who are not professional coders, it is still programming, and must be managed with the same processes you use to manage code:

Coding Conventions

  • Use 2 space indents
  • NO tabs - anywhere
  • try not to leave trailing whitespace
  • prefer parentheses around method arguments - ESPECIALLY when the argument list has more than one argument.
  • Optimize your code for READABILITY first.
  • always put whitespace between successive elements of a list (e.g. argument list, array)

Version Control with Git

  • Commit locally very often - you can always rearrange it later.
Syndicate content