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: 12562
6 Responses leave one →
  1. Sami Hoda
    May 8, 2009 at 12:37 PM

    The link does work, but good points!

  1. Prada Saffiano Calf Leather Pouch 1M1175 in Black
    Jul 20, 2014 at 3:23 PM

    GIW's REGEN service centers help its customers save energy and prolong the life of their equipment through maintenance and refurbishment services for pumps including equipment made by other OEM companies. GIW has REGEN service centers located in Thomson, GA, Mulberry, FL, Hibbing, MN, Fort McMurray and Alberta, Canada. At these service centers, GIW can:

  1. sacs longchamp en soldes
    Jul 20, 2014 at 6:02 PM

    How to Buy Retro 5 Jordans

  1. bathroom remodel cost utah
    Sep 7, 2014 at 7:23 AM

    These are genuinely fantastic ideas in onn the topic of blogging.
    Yoou have touched soome good factors here.
    Any way keep up wrinting.

  1. Shoe Air Jordan
    Oct 9, 2014 at 3:59 PM

    The automobile world played a part in the Air Jordan XVIII design. The rubber heel wrap was an element used on driving shoes, and the carbon fiber-based monocoque was inspired by F1 racecars.

  1. Cheap Jordan Online
    Oct 9, 2014 at 4:01 PM

    The jordan retro 1 is one of nike air jordan retro. All products are high shoes. Air Jordan 1 Retro White/Black is one of jordan retro 1. It is generous, unique design by the majority of basketball fans and admirers love Michael Jordan, both on the basketball court or off the court put it, is a great choice.All products are free shipping, and within 7 business days delivery.

Leave a Reply