Translate

Friday, 30 August 2013

Dos and Donts of Programming

This blog about the dos and don't that affect the programming of software. When I first started programming, working on projects both in Open Source and Corporate world. I wish someone had made me aware of the common problems. So I have compiled a list for you.

Programming Dos
  1. Do develop a good structure for a program.
  2. Do utilize local variables where possible.
  3. Do write code a piece at a time.
  4. Do use descriptive variable names.
  5. Do comment generously.

Programming Don'ts
  1. Don't create single character variables.
  2. Don't write untidy code.
  3. Don't be afraid to comment.
  4. Don't take criticism personally.
  5. Don't under simplify the solution.

No comments:

Post a Comment