News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Paul Jones' Blog:
TDD, Test-First, and Ravioli Code
July 18, 2007 @ 08:43:00

With test-driven development being promoted as one thing that can help encourage better coding, most developers are looking into its use and how it can help. Paul Jones takes an opposite approach, though, and looks at how it could cause "ravioli code" in an application.

I know that test-first and test-driven development (TDD) are popular methodologies these days, but something about those processes has always met with a level of mental resistance from me. Even though it sounds good in theory, I have been intuitively wary of the "test-first" mentality for some reason. My own approach is closer "remember to code so you can test it later" and then "test-last" after the API is mostly stable.

He includes quotes from Slashdot comment quotes from AuMatar and dkf. Be sure to check out the comments on the post (17 of them at the time of this posting) for some opinions from others about test-driven development and how it can affect your code.

Blogs also mentioning this discussion:

0 comments voice your opinion now!
raviloi testdriven development testfirst raviloi testdriven development testfirst


blog comments powered by Disqus

Similar Posts

Antony Dovgal's Blog: PHP Seven Commandments

Sandro Groganz's Blog: Does PHP 5 Hurt PHP?

PHP.net: PHP 5.6.0beta1 released

NetTuts.com: SOLID: Part 4 - The Dependency Inversion Principle

WebDevRadio Podcast: Episode 11 Released - Zend collaboration, High Performance MySQL and more


Community Events





Don't see your event here?
Let us know!


api community interview application list release project threedevsandamaybe podcast bugfix library configure framework introduction language laravel series code developer wordpress

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework