Gio Lodi 12/17/2020

How to improve your Test-Driven Development workflow by asking "Do I need this yet?"

Read Original

This article explores how combining the 'You Don't Need It Yet' (YDNIY) philosophy with Test-Driven Development (TDD) improves workflow. It argues that by continuously asking 'Do I need this yet?' during the TDD cycle (Red/Green/Refactor), developers can ship smaller, valuable increments faster, get user feedback earlier, and avoid over-engineering. A practical example from a Swift programming book illustrates hardcoding initial implementations to pass tests quickly before refactoring.

How to improve your Test-Driven Development workflow by asking "Do I need this yet?"

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes