Comment Driven Development - the art of removal
- Posted: Mar 31, 2010 at 11:36 PM
- 9,002 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comment Driven Development (CDD) is a methodology that is catching on really fast in the development community. CDD is actually not something new, teams have been practicing CDD for many years, and some might not even know they were doing it. CDD rests on
solid design principles like DRY (Don’t repeat yourself) and YAGNI (You aint going to need it). Some spells out the acronym as Comment Driven
Design - to emphasize the impact the approach has on your software design.
CDD is a technique based on searching the web ("Binging") for the solution to your specific problem, copying and pasting of the code you find and then utilizing the power of modern IDE's like Visual Studio to keep commenting out code until the application runs.
Fundamental for the methodology is also the rapid shipping of a "working" build to customer to test. The idea is to catch errors really late in the process and give the developer the freedom to be agile and do more searches for the parts of the solution that
yet hasn’t been implemented.
CDD can also be coupled with TDD - TDCDD, where you search for code for the unit test and then comment that code out until the test doesn’t fail.
Some in the CDD movement have also suggested combining DDD with CDD, but concerns of a resulting anemic domain model have been raised.
This video gives a short introduction to Comment Driven Development.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
hehe, hope noone thinks its for real
Nice one! Cracked me up this morning.
Thank you!
Lol, good job. Been doing this for years and never realized it!
Remove this comment
Remove this thread
close