TDD should simplify code, not make it more complicated. If your code becomes harder to read or maintain when you make it testable, you're doing TDD wrong.
You can learn two things:
More complex code often means more cluttered code. Cluttered code is a convenient place for bugs to hide. It's also easier to find things when there's less clutter.
3
1 read
CURATED FROM
IDEAS CURATED BY
The idea is part of this collection:
Learn more about technologyandthefuture with this collection
The differences between Web 2.0 and Web 3.0
The future of the internet
Understanding the potential of Web 3.0
Related collections
Similar ideas to TDD should lead to better design
When a company is small, the high degree of interaction between team members allows for efficient decisions without having values defined. But as a company starts to grow, communication and alignment around decision-making and hiring become increasingly challenging. Delegating responsibility beco...
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates