Skip to content

www.rolfje.com

Micro Victories

Posted on 2008-12-11 By rolfje 1 Comment on Micro Victories

TrophyThe last few weeks I was frustrated about not being able to write any code for the project I am on at work. My days are filled with email, spreadsheets, documents, discussions and distractions. All important stuff, I’m sure, but none of it has got to do with actual coding.

I tried to write code during the evenings for that project, just to get my kicks. Two things happened:

  1. Frustration grew, because I feel that this is the kind of work I should be doing during the day. 
  2. As I worked the late night hours, I realized I could never get it all done because the blocks of work were simply to large and required too much research to be done during a few evenings.

In the midst of this all, I held a presentation about Coding Quality at work. The presentation was all about taste, caring for a good product, and putting some love and care into your code. That, and the whole continuous integration and unittests stuff ofcourse. During the questions session, the FindBugs plugin for Eclipse came up. This is a plugin I have installed, but I rarely find/make the time for working through the warnings it genereates.

Bug and SpiderI did a small demo of Findbugs, and it sure worked. There they were, the stupid mistakes in my code, on the beamer, in front of all my collegues. Ofcourse Murphy says that any beamer will always be at it’s sharpest and brightest when your slide has an error on it. In my case, even the people in the far back could clearly read the tiniest font in my edit window.

Back home, I knew there is no way I can get these fixed during working hours, so I created a seperate Eclipse installation at home running Findbugs. As I started fixing some of the most humilliating little bugs, I found out that I couldn’t stop. I spent the whole evening tinkering with the code, and it fealt great. Today I suddenly realized why.

Findbugs presents me with little things I can do within 5 minutes each, and when done, there is that next one looking at me. Not surprising, this is also the recipe for addictive video games. You can pick the game up and get right in, and you can stop at any time, but you don’t want to.

Every 5 minutes, I solve a bug, run unittest, commit to CVS and feel good about having done that. It’s a string of Micro Victories which are really thrilling and relaxing at the same time. There’s no time pressure, no requirements, just me, my good taste and a good feeling for each little bug solved.

Software Tags:findbugs, junit, opinion

Post navigation

Previous Post: Brilliant TV
Next Post: Wiimote Whiteboard

Comment (1) on “Micro Victories”

  1. Sybren Stüvel says:
    2008-12-28 at 17:16

    We used Findbugs while developing for/with WPS, and I felt the same way. Sometimes Findbugs was a little over-eager to my taste marking things as bugs, but all in all the result was that the bugs that were left (there are always bugs left) were much more interesting and challenging to fix.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

           

Recent Comments

  • rolfje on Methode Buijs uitgelegd
  • LinkedIn is at Peak Enshittifaction – Will Chatham's Blog on Linked-In not really Opt-in?
  • Hans j on 1N4148 diode as RF switch
  • Roaming Rhonda on DLNA on OSX, done right
  • Frans on How to fix a Krups XN2001 Nespresso machine

Tags

Apple backup design DIY DRM eclipse environment Fun Garmin GForge gmail google hacking hamradio Hardware helicopter iphone ipod iTunes Java Keynote linux maven modelling music news opinion oracle osx photo photography programming repair review security Software Steve Jobs technology Time Machine Ubuntu usability Utilities vacation windows Workshop

Categories

  • Apple (105)
  • Divorce (1)
  • Electronics (3)
  • Fun (57)
  • Games (7)
  • Hardware (72)
  • Microsoft (18)
  • Racing (14)
  • Software (134)
  • Uncategorized (66)
  • Workshop (20)

Archives

Copyright © 2025 www.rolfje.com.

Powered by PressBook WordPress theme