Writing Maintainable Code

Posted by & filed under .

A good article by Pam Abdulla, key points she brought up were:

  1. Agree on a coding style for your workplace, document it, publish it and use it.
  2. Note dependencies, what the code effects and the expected results.
  3. Use white space.
  4. Establish naming conventions.
  5. Keep it simple.

Her rules are sweet and simple… like one of her rules itself.

There are so many times I’ve worked on projects where each developer uses a different coding style for the SQL and half the time removing all extra white space ends up being part of some people’s "style".  Lines and lines of unending code…

Sometimes its more of a lack of style.