Logo

dev-resources.site

for different kinds of informations.

Guess-Driven Development

Published at
7/10/2023
Categories
guessdrivendevelopme
antipatterns
pullrequests
Author
jhall
Author
5 person written this
jhall
open
Guess-Driven Development

Have you ever seen a pull request with half a dozen, seemingly unrelated changes, all in the name of fixing a specific bug?

The last time this happened to me, I requested clarification on the purpose of a number of the changes, suggested a couple small refactors, pointed out that a couple of the changes were unnecessary or even counter-productive…

After a few back-and-forths, the PR went from about 40 lines changed to 2 lines changed. All the unrelated, unnecessary bits had been removed.

This is the result of what I have come to call Guess-Driven Development.

It happens when someone doesn’t really know what’s causing a bug, so they just start changing things, until the bug goes away. Then they commit their entire change set, without much thought.


If you enjoyed this message, subscribe to The Daily Commit to get future messages to your inbox.

antipatterns Article's
30 articles in total
Favicon
Backend Red Flags - What NOT to do
Favicon
Microservice Antipatterns: The Shared Client Library
Favicon
Microservices: Avoiding the Pitfalls, Embracing the Potential - A Guide to Anti-Patterns
Favicon
Antipattern: We'll buy it when we come back
Favicon
SQL antipatterns: Diplomatic Immunity
Favicon
The Consumer Conundrum: Navigating Change in Microservices Without Gridlock
Favicon
Top AWS CloudFormation Anti-Patterns & Best Practices
Favicon
Guess-Driven Development
Favicon
AWS Serverless Anti-Patterns: What They Are and How to Avoid Them
Favicon
AWS DR Anti-Patterns: Avoiding Common Mistakes
Favicon
The Strategy of One
Favicon
Microservices anti-patterns
Favicon
Get out early with Perl statement modifiers
Favicon
JavaScript Anti-patterns
Favicon
The two most common DevOps anti-patterns
Favicon
The God 🦸
Favicon
Design Meeting Patterns and Antipatterns
Favicon
Anti-patterns of automated software testing
Favicon
React Anti Patterns Part 1
Favicon
Death by Interfaces?
Favicon
The Antipattern Antipattern
Favicon
Ruby's Array: a Swiss Army Knife?
Favicon
13 ways the Internet is broken - #9 will shock you!
Favicon
A note from a TDD zealot
Favicon
Applications as Frameworks
Favicon
My first React 'aha' moment. Is this an antipattern?
Favicon
Avoiding the Builder Design Pattern in Kotlin
Favicon
The Fallacy of DRY
Favicon
Avoid anemic domain models by empowering your objects
Favicon
微服务的反模式和陷阱

Featured ones: