Chris Donnan : Programming - Brooklyn Style
software, trading, family, fun
Posted programming on Friday, August 4th, 2006.
Oh assertions, how my love for you has grown over these past years.
I must admit (*sigh*) that I have been seeing less and less of my old friend - Debugger - much to her dismay. I believe it is because you and I have been together more lately. She was a good friend - but so demanding of my time. She would reveal to me all my inconsistencies and inadequacies. She would point out all of my shortcomings. It would however take her a while to finally get to the point. I would have to push and pull, prod and poke to force her to get it out.
You on the other hand; AS SOON as I make a mistake - you are there - pointing it out for me. You waste no time helping me figure out what I did wrong. I am thankful for this. Even though I HATE making mistakes - I always will. You accept this and you are strong for me.
Thank you Assertions.
I fear however I have begun to obsess over you, just as I have in the past with my old companion - Debugger. The difference may however be disturbing to you - Assertions - my faithful companion. You see - Debugger - she used to use me - now - Assertion - I use you - everywhere. In the past, if I had an issue, Debugger would force me to spend hours with her. I would have to take long walks through the software, coerce and cajole her. Eventually - she would show me what I needed to see. Oh the memories.
Assertions - I have spread you all over my software. Anywhere I think I may make an error somewhere down the line - I put you. I NEED you to tell me what I am doing wrong. This keeps me away from my even more unhealthy relations with - Debugger. Sometimes - she sings her siren song - and calls me back. But usually - with your help - Assertions - I find my way out quickly. You have been my rock.
Oh Assertions - my perverse obsession has lead me to make entire applications dedicated to you - I call these “Unit Test Suites”. These applications consist entirely of you - Assertions. Oh how far gone it has become. You have been so steadfast for me - and yet- I use you to no end - forgive me.
The whole world has gone after you with these “Unit Tests”, but I have not forgotten where you have always served me. You still live in the heart of my software, not just in these “churches built to you” - “unit tests”. You can forever, faithfully be with me both in the heart of my software and in my tests.
Thank you for being such a part of my (code) life. I hope that someday I can repay you.
With love;
Chris
I will leave you with this:
Assert.IsTrue(Chris.HasLoveFor(Assertion));
Comment on this post below
You must be logged in to post a comment.
You can leave a response, or trackback from your own site.















