Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Puzzle Driven Development in Action

DZone's Guide to

Puzzle Driven Development in Action

In PDD, we allow the programmer to cut corners and return puzzles back to the master file. These puzzles are assigned to other programmers, and so on, till they're fixed.

· Agile Zone ·
Free Resource

The Agile Zone is brought to you in partnership with Techtown Training. Learn how DevOps and SAFe® can be used either separately or in unison as a way to make your organization more efficient, more effective, and more successful in our SAFe® vs DevOps eBook.

Puzzle Driven Development is a methodology we've been practicing on our teams for more than seven years. Using PDD, we delegate the responsibility of task decomposition to its performers, eliminating the role of a project manager. We've been using our proprietary software for that. A month ago, we made it public, open source, and free. It is available at 0pdd—a GitHub-based chat bot.

Image title

Here is how you configure it, in two steps. First, you grant read-only access to @0pdd in GitHub (either private or public repository).

Second, you add a webhook to your GitHub repository: http://www.0pdd.com/hook/github (with just a push event).

Now, your repository is being watched by 0pdd. Every time you git push something new, it does a git pull and retrieves your changes from GitHub. Then it runs pdd, a command line tool that scans the entire code base and finds all occurrences of @todo markers.

For all newly found markers, 0pdd will submit new issues to the GitHub issue tracking section of your repository.

Also, when you remove markers from your code base, 0pdd will immediately close issues it created.

Now, when an issue is assigned to a programmer, we allow him or her to return incomplete code back to the master. If and when the code is not complete, we ask the programmer to leave @todo markers in the code, called "puzzles." Later, these puzzles will be assigned to other programmers, and so on. Eventually, the problem will be fixed when most puzzles are resolved.

0pdd helps you automate this process and provides a summary report of the current situation with all puzzles in the entire code base. You can even add a nice badge to your GitHub repo:

PDD status

If you click it, you will see the full report of all puzzles currently present and previously seen.

This mechanism helps us in many projects. You can use it for free. It's an open-source Ruby product; feel free to contribute.

Adopting a DevOps practice starts with understanding where you are in the implementation journey. Download the DevOps Transformation Roadmap, brought to you in partnership with Techtown Training

Topics:
project management ,task management ,puzzle driven development ,agile

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}