Monday, July 16, 2007
« My path to learning Ruby | Main | Shocking your way to self improvement »
Over the weekend I listened to the latest .NET Rocks episode with John Lam.  I'm very keen on seeing and hearing about where the IronRuby project is going, so I found the interview very informational.  Although I enjoyed the entire show, one particular exchange between Carl and John stood out.  About half way through, Carl asked John whether he thought developers who don't do test driven development (TDD) and unit testing should be working in dynamic languages.  John made the wonderful assertion that he doesn't believe programmers that are not writing "unit tests" should be writing code in any language, regardless of whether the language is dynamic or statically typed.   Following that statement, John went on to mention that whether or not the code is test driven isn't nearly as important as whether the code has unit tests since the "test driven" approach is "extreme" and "dogmatic".  While I agree that the key is unit tests, I don't agree that a test driven approach is extreme or dogmatic.  In my opinion its the most pragmatic approach to writing code that is well designed and well tested.  The fact is, writing unit tests after the fact sucks!  Especially if "after the fact" is days or weeks after the real code is written.

When I first got started with TDD I didn't really understand what it was all about.  Rather than figure out what this magical red-green-refactor thing was all about I decided I'd just write some unit tests once I had my code written.  After a couple projects using this approach I started to realize that I really hated writing unit tests after the fact.  It was because of this hatred that I got started with test driven development.

Rather than testing being a pain in the ass task that I had to do when I finished writing my "real" code, testing became an instrumental step within the process of writing the "real" code.  Since I was using tests to figure out what code needed to be written, it became a vehicle by which I could design the code I was writing, rather than an afterthought.  I'm sure there are people out there that write great tests after the fact, however, I'm not one of them.  For me writing tests first isn't something extreme or dogmatic, it simple the only way I can write high quality code with solid test coverage without going nuts.  For me, writing unit tests after the fact sucks.  For me, driving my code with tests is a joy. 

I wonder how writing tests first could be "extreme" and "dogmatic" for others, but for me its pragmatic?

   
 |  | 
Tuesday, July 17, 2007 10:15:30 AM (Eastern Daylight Time, UTC-04:00)
Nicely expressed. I think once one sickens of how much it sucks to have to spend weekends debugging crappy code and writing tests after the fact, one falls instead into a natural rhythm where software development would be meaningless without a natural step of writing the test first
Wednesday, July 18, 2007 8:18:00 PM (Eastern Daylight Time, UTC-04:00)
"For me writing tests first isn't something extreme or dogmatic, it simple /the only way/ ..."

Did you intend that as ironic ridicule of your own blog article? :-)
Isaac Gouy
Wednesday, July 18, 2007 11:52:34 PM (Eastern Daylight Time, UTC-04:00)
I'm not sure how exactly you came to that interpretation of what I said, but I suppose you can come to whatever conclusion you wish and twist what I said anyway you want. At the end of the day, I use a test first approach because its what I've found to work best for me. If you've had different experiences more power to you.
Friday, July 20, 2007 7:08:31 PM (Eastern Daylight Time, UTC-04:00)
People become dogmatic when they think that because they find something valuable that everyone should also find it valuable.

It's the 'snobbery' of the modern day developer. "Do you test?" "no" "oh, then you are substandard person"

lol

I am like you, it's about pragmatic. I do it because I find value in it.
Steve
Tuesday, December 04, 2007 7:20:14 AM (Eastern Standard Time, UTC-05:00)
Thanks for this learning !
Tuesday, December 04, 2007 2:50:09 PM (Eastern Standard Time, UTC-05:00)
very nice
Saturday, February 02, 2008 2:11:57 PM (Eastern Standard Time, UTC-05:00)
Cool, the post.

Thanks for the information.
Saturday, February 16, 2008 12:08:25 AM (Eastern Standard Time, UTC-05:00)
Thanks !

The best price. Better quality. The best service
Friday, March 21, 2008 6:56:12 AM (Eastern Daylight Time, UTC-04:00)
One question: Is there any way around the authentication issue? I have a portal which requires a login/password. Am I out of luck? --thanks
Friday, March 21, 2008 6:56:43 AM (Eastern Daylight Time, UTC-04:00)
it is very cool.thanks
Friday, March 21, 2008 6:57:58 AM (Eastern Daylight Time, UTC-04:00)
cool.thanks for your post
Wednesday, April 16, 2008 2:34:39 AM (Eastern Daylight Time, UTC-04:00)
Excellent information
Tuesday, May 20, 2008 2:04:13 AM (Eastern Daylight Time, UTC-04:00)
[url=http://buy-aoc-gold.rgtrcredit.com/][color=#800080][b]Age Of Conan Gold [/b][/color][/url][url=http://www.aocsale.com/][color=#800080][b]Age Of Conan Gold [/b][/color][/url][url=http://www.buy-cheap-aoc-gold.com/][color=#800080][b]Age Of Conan Gold[/b][/color][/url][url=http://www.buy-cheap-aoc-gold.com/][color=#800080][b]buy age of conan gold [/b][/color][/url] [url=http://www.aocsale.com/][color=#800080][b]buy age of conan gold[/b][/color][/url][url=http://buy-aoc-gold.rgtrcredit.com/][color=#800080][b]buy age of conan gold [/b][/color][/url][url=http://www.buyfastgold.com/][color=#800080][b]aoc gold [/b][/color][/url][url=http://buy-aoc-gold.hellgate-pd.com/][color=#800080][b]aoc gold [/b][/color][/url][url=http://www.buyfastgold.com/][color=#800080][b]aoc gold[/b][/color][/url] [url=http://buy-aoc-gold.hellgate-pd.com/][color=#800080][b] buy aoc gold [/b][/color][/url][url=http://www.buyfastgold.com/][color=#800080][b] buy aoc gold[/b][/color][/url] http://www.buyfastgold.com http://www.buy-cheap-aoc-gold.com http://www.aocsale.com http://buy-aoc-gold.hellgate-pd.com http://buy-aoc-gold.rgtrcredit.com <P><A href="http://buy-aoc-gold.rgtrcredit.com/"><STRONG>Age Of Conan Gold&nbsp;< ></A><STRONG>&nbsp;&nbsp;&nbsp; < ><A href="http://www.aocsale.com/"><STRONG>Age Of Conan Gold&nbsp;< ></A><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; < ><A href="http://www.buy-cheap-aoc-gold.com/"><STRONG>Age Of Conan Gold< ></A>&nbsp;&nbsp;&nbsp;<STRONG>&nbsp; < ><A href="http://www.buy-cheap-aoc-gold.com/"><STRONG>buy age of conan gold&nbsp;&nbsp; < ></A></P> <P><A href="http://www.aocsale.com/"><STRONG>buy age of conan gold< ></A><STRONG>&nbsp;&nbsp; < ><A href="http://buy-aoc-gold.rgtrcredit.com/"><STRONG>buy age of conan gold&nbsp;&nbsp; < ></A><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; < ><A href="http://www.buyfastgold.com/"><STRONG>aoc gold&nbsp;< ></A><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;< ><A href="http://buy-aoc-gold.hellgate-pd.com/"><STRONG>aoc gold&nbsp;< ></A><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;< ><A href="http://www.buyfastgold.com/"><STRONG>aoc gold< ></A><STRONG> < ></P> <P><A href="http://buy-aoc-gold.hellgate-pd.com/"><STRONG>&nbsp;buy aoc gold&nbsp;< ></A><STRONG>&nbsp;&nbsp;&nbsp; < ><A href="http://www.buyfastgold.com/"><STRONG>&nbsp;buy aoc gold< ></A></P>
Saturday, June 14, 2008 6:26:00 AM (Eastern Daylight Time, UTC-04:00)
The fourth <a href="http://www.wow-powerleveling.org">wow power leveling</a> latest game in <a href="http://www.xowow.com">wow power leveling</a> Warcraft series is ‘<a href="http://www.powerlevelingweb.com">wow power leveling</a>’. Also known as <a href="http://www.igsstar.com">wow power leveling</a>, it represents a <a href="http://www.wowgoldweb.com">wow power leveling</a> multiplayer online <a href="http://www.powerleveling-wow.com/siteMap.asp">wow power leveling</a> game, the best of <a href="http://www.powerleveling-wow.com">wow power leveling</a> kind. Initially, it was <a href="http://www.wow-powerleveling.org">wow gold</a> it be released in 2001, but <a href="http://www.powerleveling-wow.com">wow powerleveling</a> was delayed <a href="http://www.powerlevelingweb.com">wow powerleveling</a> 2004, thus <a href="http://www.xowow.com">wow powerleveling</a> the 10 years of<a href="http://www.wow-powerleveling.org">wow powerleveling</a> franchise of this<a href="http://www.xowow.com">wow gold</a> series. The <a href="http://www.powerlevelingweb.com">world of warcraft power leveling</a> was not <a href="http://www.wow-powerleveling.org/wow+power+leveling.html">world of warcraft power leveling</a>fulfilling, because <a href="http://www.powerleveling-wow.com/siteMap.asp">wow power level</a>problems with <a href="http://www.powerlevelingweb.com">wow power level</a> server’s stability <a href="http://www.powerleveling-wow.com/siteMap.asp">power leveling wow</a> performance occurred, but <a href="http://www.xowow.com">power leveling wow</a> game still <a href="http://www.powerlevelingweb.com">power leveling wow</a> a financial success <a href="http://www.powerleveling-wow.com/siteMap.asp">powerleveling wow</a> the most <a href="http://www.xowow.com">powerleveling wow</a> game of its kind. The number <a href="http://www.powerlevelingweb.com">cheap wow power leveling </a> users that play <a href="http://www.igsstar.com/Maple-Story-mesos-us/">Maple Story mesos</a>, exceeds 8.5 <a href="http://www.igsstar.com/Maple-Story-mesos-us/">MapleStory mesos</a>, worldwide.As a form <a href="http://www.igsstar.com/Maple-Story-mesos-us/">ms mesos</a>,recognition for <a href="http://www.igsstar.com/Maple-Story-mesos-us/">mesos</a>,outstanding popularity, the game <a href="http://www.igsstar.com/Silkroad-Online-Gold/">SilkRoad Gold</a>, received a<a href="http://www.igsstar.com/Silkroad-Online-Gold/">SRO Gold</a>, of awards. Now the question <a href="http://www.igsstar.com/EverQuest-2-gold-plat/">eq2 plat</a>, why is <a href="http://www.igsstar.com/EverQuest-2-gold-plat/">eq2 gold</a>, game <a href="http://www.igsstar.com/EverQuest-2-gold-plat/">eq2 Platinum</a>, popular? For anyone<a href="http://www.igsstar.com/EverQuest-2-gold-plat/">EverQuest 2 Platinum</a>, played the previous <a href="http://www.igsstar.com/EverQuest-2-gold-plat/">EverQuest 2 gold</a>, and <a href="http://www.igsstar.com/EverQuest-2-gold-plat/">EverQuest 2 plat</a>, already initiated <a href="http://www.igsstar.com/Lord-of-The-Ring-online-gold/">lotro gold</a>, the mysterious world <a href="http://www.igsstar.com/Lord-of-The-Ring-online-gold/">lotr gold</a>, the breathtaking <a href="http://www.igsstar.com/Lord-of-The-Ring-online-gold/">Lord of the Rings online Gold</a>, this <a href="http://www.watchreplicashop.com/">Rolex Replica</a> nothing but an <a href="http://www.watchreplicashop.com/">Replica Rolex</a> adventure that continues the story of ‘Warcraft III: Frozen Throne’, four years after conclusion, in the world of Azeroth. The game is online role-playing, the previous versions being online and offline strategy games. The major thrills and unique features are present as in every Blizzard game.
Saturday, June 14, 2008 6:26:25 AM (Eastern Daylight Time, UTC-04:00)
The fourth [url=http://www.wow-powerleveling.org]wow power leveling[/url] latest game in [url=http://www.xowow.com]wow power leveling[/url] Warcraft series is ‘[url=http://www.powerlevelingweb.com]wow power leveling[/url]’. Also known as [url=http://www.igsstar.com]wow power leveling[/url], it represents a [url=http://www.wowgoldweb.com]wow power leveling[/url] multiplayer online [url=http://www.powerleveling-wow.com/siteMap.asp]wow power leveling[/url] game, the best of [url=http://www.powerleveling-wow.com]wow power leveling[/url] kind. Initially, it was [url=http://www.wow-powerleveling.org]wow gold[/url] it be released in 2001, but [url=http://www.powerleveling-wow.com]wow powerleveling[/url] was delayed [url=http://www.powerlevelingweb.com]wow powerleveling[/url] 2004, thus [url=http://www.xowow.com]wow powerleveling[/url] the 10 years of[url=http://www.wow-powerleveling.org]wow powerleveling[/url] franchise of this[url=http://www.xowow.com]wow gold[/url] series. The [url=http://www.powerlevelingweb.com]world of warcraft power leveling[/url] was not [url=http://www.wow-powerleveling.org/wow+power+leveling.html]world of warcraft power leveling[/url]fulfilling, because [url=http://www.powerleveling-wow.com/siteMap.asp]wow power level[/url]problems with [url=http://www.powerlevelingweb.com]wow power level[/url] server’s stability [url=http://www.powerleveling-wow.com/siteMap.asp]power leveling wow[/url] performance occurred, but [url=http://www.xowow.com]power leveling wow[/url] game still [url=http://www.powerlevelingweb.com]power leveling wow[/url] a financial success [url=http://www.powerleveling-wow.com/siteMap.asp]powerleveling wow[/url] the most [url=http://www.xowow.com]powerleveling wow[/url] game of its kind. The number [url=http://www.powerlevelingweb.com]cheap wow power leveling [/url] users that play [url=http://www.igsstar.com/Maple-Story-mesos-us/]Maple Story mesos[/url], exceeds 8.5 [url=http://www.igsstar.com/Maple-Story-mesos-us/]MapleStory mesos[/url], worldwide.As a form [url=http://www.igsstar.com/Maple-Story-mesos-us/]ms mesos[/url],recognition for [url=http://www.igsstar.com/Maple-Story-mesos-us/]mesos[/url],outstanding popularity, the game [url=http://www.igsstar.com/Silkroad-Online-Gold/]SilkRoad Gold[/url], received a[url=http://www.igsstar.com/Silkroad-Online-Gold/]SRO Gold[/url], of awards. Now the question [url=http://www.igsstar.com/EverQuest-2-gold-plat/]eq2 plat[/url], why is [url=http://www.igsstar.com/EverQuest-2-gold-plat/]eq2 gold[/url], game [url=http://www.igsstar.com/EverQuest-2-gold-plat/]eq2 Platinum[/url], popular? For anyone[url=http://www.igsstar.com/EverQuest-2-gold-plat/]EverQuest 2 Platinum[/url], played the previous [url=http://www.igsstar.com/EverQuest-2-gold-plat/]EverQuest 2 gold[/url], and [url=http://www.igsstar.com/EverQuest-2-gold-plat/]EverQuest 2 plat[/url], already initiated [url=http://www.igsstar.com/Lord-of-The-Ring-online-gold/]lotro gold[/url], the mysterious world [url=http://www.igsstar.com/Lord-of-The-Ring-online-gold/]lotr gold[/url], the breathtaking [url=http://www.igsstar.com/Lord-of-The-Ring-online-gold/]Lord of the Rings online Gold[/url], this [url=http://www.watchreplicashop.com/]Rolex Replica[/url] nothing but an [url=http://www.watchreplicashop.com/]Replica Rolex[/url] adventure that continues the story of ‘Warcraft III: Frozen Throne’, four years after conclusion, in the world of Azeroth. The game is online role-playing, the previous versions being online and offline strategy games. The major thrills and unique features are present as in every Blizzard game.
Saturday, June 14, 2008 6:26:48 AM (Eastern Daylight Time, UTC-04:00)
[url=http://www.wow-powerleveling.org]wow power leveling[/url]
[url=http://www.xowow.com]wow power leveling[/url]
[url=http://www.powerlevelingweb.com]wow power leveling[/url]
[url=http://www.igsstar.com]wow power leveling[/url]
[url=http://www.wowgoldweb.com]wow power leveling[/url]
[url=http://www.powerleveling-wow.com/siteMap.asp]wow power leveling[/url]
[url=http://www.powerleveling-wow.com]wow power leveling[/url]
[url=http://www.wow-powerleveling.org]wow gold[/url]
[url=http://www.powerleveling-wow.com]wow powerleveling[/url]
[url=http://www.powerlevelingweb.com]wow powerleveling[/url]
[url=http://www.xowow.com]wow powerleveling[/url]
[url=http://www.wow-powerleveling.org]wow powerleveling[/url]
[url=http://www.xowow.com]wow gold[/url]
[url=http://www.powerlevelingweb.com]world of warcraft power leveling[/url]
[url=http://www.wow-powerleveling.org/wow+power+leveling.html]world of warcraft power leveling[/url]
[url=http://www.powerleveling-wow.com/siteMap.asp]wow power level[/url]
[url=http://www.powerlevelingweb.com]wow power level[/url]
[url=http://www.powerleveling-wow.com/siteMap.asp]power leveling wow[/url]
[url=http://www.xowow.com]power leveling wow[/url]
[url=http://www.powerlevelingweb.com]power leveling wow[/url]
[url=http://www.powerleveling-wow.com/siteMap.asp]powerleveling wow[/url]
[url=http://www.xowow.com]powerleveling wow[/url]
[url=http://www.powerlevelingweb.com]cheap wow power leveling [/url]
[url=http://www.igsstar.com/Maple-Story-mesos-us/]Maple Story mesos[/url]
[url=http://www.igsstar.com/Maple-Story-mesos-us/]MapleStory mesos[/url]
[url=http://www.igsstar.com/Maple-Story-mesos-us/]ms mesos[/url]
[url=http://www.igsstar.com/Maple-Story-mesos-us/]mesos[/url]
[url=http://www.igsstar.com/Silkroad-Online-Gold/]SilkRoad Gold[/url]
[url=http://www.igsstar.com/Silkroad-Online-Gold/]SRO Gold[/url]
[url=http://www.igsstar.com/EverQuest-2-gold-plat/]eq2 plat[/url]
[url=http://www.igsstar.com/EverQuest-2-gold-plat/]eq2 gold[/url]
[url=http://www.igsstar.com/EverQuest-2-gold-plat/]eq2 Platinum[/url]
[url=http://www.igsstar.com/EverQuest-2-gold-plat/]EverQuest 2 Platinum[/url]
[url=http://www.igsstar.com/EverQuest-2-gold-plat/]EverQuest 2 gold[/url]
[url=http://www.igsstar.com/EverQuest-2-gold-plat/]EverQuest 2 plat[/url]
[url=http://www.igsstar.com/Lord-of-The-Ring-online-gold/]lotro gold[/url]
[url=http://www.igsstar.com/Lord-of-The-Ring-online-gold/]lotr gold[/url]
[url=http://www.igsstar.com/Lord-of-The-Ring-online-gold/]Lord of the Rings online Gold[/url]
[url=http://www.watchreplicashop.com/]Rolex Replica[/url]
[url=http://www.watchreplicashop.com/]Replica Rolex[/url]
Friday, June 27, 2008 7:07:50 AM (Eastern Daylight Time, UTC-04:00)
<A href="http://www.storeingame.com">wow gold</A>
<A href="http://www.2joygame.com">lotro gold</A>
<A href="http://www.storeingame.com/aoc-gold.htm">aoc gold</A>
cyyinli
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):