Good Coding Practice


  1. Correct: The code should operate correctly on all expected and unexpected results
  2. Efficient: In terms of time and space.
  3. Simple: if you can do 10 lines instead of 100.
  4. Readable: A different developer should be able to read.
  5. Maintainable: Code should be reasonably adaptable to changes during the life cycle of a product and should be easy to maintain by other developers