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