Laws of Software Development

2009 May 08
by Administrator

I was just looking at an interesting blog post titled "Laws of Source Code and Software Development" and I couldn't agree more. Here are the few highlights

  1. Commented out code are not comments - When you are using version control, code changes should be tracked by version and not code comments
  2. Don't make excuses for your code - Your code is the reason for you being paid and not excuses. "It worked on my machine" is one of the most lame excuse. You will never ship out your computer to client with an application. Use unit tests and integration test to ensure that the code is working according to it intent
  3. Don't take code personal - Code reviews are meant to improve the quality of application. No one is pointing finger at you for writing a piece of code. As a matter of fact, people have taken time to review your work and will provide you feedback on quality of the code
  4. Code is your legacy - For years after you leave, people with either curse you or thank you while maintaining your code. Don't we expect the same when we inherit someone's code
  5. Coding != Programming - Writing code and software development are two different things.
  6. Coding is learning - If you are not learning you are doing it wrong. Every project is an opportunity to learn.
  7. Good good produce great communication - People will read the code that you write just as emails. Use best practices and common design patterns and idioms. Your code should communicate clearly and concisely its intent.

There are few more on the author's website, so make sure to check that out as well. Happy coding

| View count: 2265
1 Response leave one →
  1. Sami Hoda
    May 8, 2009 at 12:37 PM

    The link does work, but good points!

Leave a Reply