Commits

Anonymous committed bb44693

Add "If it ain't broke, don't fix it."

Comments (0)

Files changed (3)

t2/humour/fortunes/fortunes-shlomif-ids-data.yaml

       date: 2008-07-04T09:17:00Z
     suppose-x-is-the-speed: 
       date: 2008-07-04T09:17:00Z
+    szabgab-on-if-it-aint-broke-dont-fix-it: 
+      date: 2010-08-29T15:41:21Z
     tail-for-the-lions: 
       date: 2009-11-11T15:49:28Z
     two-wolves-and-a-lamb: 

t2/humour/fortunes/shlomif-fav.xml

           </info>
       </quote>
     </fortune>
+    <fortune id="szabgab-on-if-it-aint-broke-dont-fix-it">
+      <meta>
+        <title>What does "If it ain't broke, don't fix it." really mean?</title>
+      </meta>
+      <quote>
+          <body>
+<p>
+I keep hearing and reading this nice proverb <b>if it ain't broke, don't fix it</b>. The latest
+apperance was in response to <a href="http://community.livejournal.com/shlomif_tech/37969.html">Shlomi Fish</a>
+suggesting that some Ancient Perl code should be replaced by Modern Perl code.
+</p>
+<p>
+I am not saying that every pices of code should be rewritten every 6 months but in my understanding
+that sentence actually translates to <b>let's wait till it breaks and then panic</b>.
+</p>
+<p>
+I think people who say that sentence are afraid that the new version will break something. Sure 
+there is always a chance that a change introduces an error but if we are afraid to touch the code 
+what will happen when later on we encounter a case where it does not work? For example if we
+need to use it in a new environment. Will we have the courage to change the code then? How much will it 
+cost in money, time, and lost sleep?
+</p>
+<p>
+I think we have been trying to teach ourselves that we should have really good test coverage of our
+code and then we can easily refactor it and get rid of technical debt. So why do we keep hearing
+that sentence?
+</p>
+          </body>
+          <info>
+              <author>Gabor Szabo</author>
+              <work href="http://szabgab.com/blog/2009/11/1259431123.html">What does "If it ain't broke, don't fix it." really mean?</work>
+          </info>
+      </quote>
+    </fortune>
   </list>
 </collection>

t2/humour/fortunes/ver.txt

-0.16.26
+0.16.27