Broken Window, Software Entropy

by volkanuzun 7/3/2008 6:21:00 AM

I am reading The Pragmatic Programmer, From Journeyman To Master. It seems to be a nice book. In the first chapter it is talking about software entropy. Basically if the software has some parts that are buggy (of course you dont write code that has bugs), it will spread out to other parts too till the whole software is rot.

According to the book, Broken Window is a theorem, that New York Police Department used to clean the streets. Basically the idea is, if there is a street and some of the windows are broken, and you don fix those, people start littering. They start thinking that the street is abandoned, and not secure any more, so if u have broken windows left unrepaired, u ll see more crime, graffitis etc. How does this apply to software? If you have buggy codes left in your application, it wont be secure any more, and it will be more and more buggy, crime is going to go up :). 

If you have a bug in the code, fix it. I know rapid shipping sometimes will stop you fixing all the bugs, but then remove the feature that your bug is in. Dont let broken windows to be spreaded around, dont let other developers (including urself) think that your code is abandoned.

Have fun coding

Tags:

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading



About the author

Volkan Uzun




E-mail me Send mail

Twitter

Calendar

<<  September 2008  >>
MoTuWeThFrSaSu
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

View posts in large calendar

Flickr Badge

www.flickr.com
This is a Flickr badge showing public photos from volkanuzun. Make your own badge here.

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Sign in