Venkat Subramanium is an amazing speaker. I was fortunate enough to have him as my professor in college and what I remember most are the interesting analogies that helped explain tough topics.
His latest post, Walking along the developer beach, is another gem that explains the rhythm that you must get in to gain the most productivity out of test-driven development (and test-2nd development). The most interesting thing is that it works for either school. Either you write the test first, then the method, or you write the method first, but immediately after you write your test. It forces you to hold the caller’s perspective and not get buried in the code. A byproduct is cleaner, more testable code.
If you are writing unit tests, then that’s a huge step that most people aren’t even achieving yet, but to get the most out of them, write them in parallel with your methods. Otherwise you’ll be hopping along one foot, just like hopskotch.
Now playing: Breaking Benjamin - Wish I May
I'm Ben Scheirman. I am a .NET software developer with a strong interest in agility. I work as a Principal Consultant with Sogeti.
Read more here.
email me
Ads by The Lounge
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.