Friday, February 15, 2013

Toggle Driven Development

Similarly to Test Driven Development (TDD)--Writing tests before code--, my current team is following a Toggle Driven Development: Writing toggles before code.

The main point is: if you are using toggles, consider designing/creating/refactoring  the toggle strategy before writing code.

Before getting into TDD, I got into writing tests for the code. It took me a few years until I fully understood the value of writing the test first. It seems to me that toggles are following a similar pattern. I wonder if there will be such a thing as Toggle Driven Development.

2 comments:

Anonymous said...

Nice blog, just looking around some websites, seems a really nice platform you are using. I'm currently using Wordpress for a few of my sites but looking to change one of them over to a platform similar to yours as a trial run.

dallas sleep

Peter Gfader said...

Great idea!!

That removes some pressure from the developers, since they don't need to worry that an end-user is seeing their work-in-progress.