Docendo discimus

$self->explain

  • Calendar

    October 2008
    M T W T F S S
        Nov »
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Archives

  • Recent Posts

  • Bling

  • Advertisements

Archive for October 30th, 2008

How I learned to stop worrying…

Posted by brunorc on October 30, 2008

It wasn’t so obvious to me when I bought this book (original version), and even in the time of reading. At least all those nifty tests running during Perl modules installation had some meaning to me… Nonetheless, if smarter than me advised to write tests – I made them a part of my workshop.

Sooner the advantage of having testing suite ahead of writing code became obvious. Having some kind of “living specification” gave me a huge performance thrust, mostly because of the instant gratification. But what was even more important, I was able to track down every improvement, which unintentionally broke some other behavior, implemented before.

But lately I discovered another upside, which importancy is even more significant in the world of Open Source. Namely, it is the possibility to discover some bugs in the external code – modules, libraries, whatever. And not only one can discover it, but while reporting one can provide the failing test. Of course one can use this test not only for reporting, but also for trying his brand new patch before submitting it…

There is some witty saying (based on the famous Murphy’s Law), stating that “cool tools works only in others’ gardens”. So while for many people test are not cool, you can treat this lack of coolness as a proof that tests will work for you. And once you have discovered that tests are really cool, you don’t need such proofs anymore.

Advertisements

Posted in Uncategorized | Tagged: | 1 Comment »

Why?

Posted by brunorc on October 30, 2008

I decided to start a blog. A programming blog. There are myriads of programming blogs, you say, so why do you start another one?

Because Tim Bunce asked us (Perl programmers) to do this.

Because Steve Yegge more than once said that this is important.

Many times I was very close to jump into this, but I was lacking something. Once I spot the docendo discimus sentence, I understood that this is THE way. So in my effort to improve my skills in programming (not to mention writing in English) I will fill this place with all the useful things and ideas which comes to my mind.

And I hope you will support those effort.

Posted in Uncategorized | Leave a Comment »