The Beautiful Theory of TDD and the Reality Check of Practice
Metadata
- Author: Bite Code!
- Full Title: The Beautiful Theory of TDD and the Reality Check of Practice
- Category:#articles
- Document Tags: tdd
- Summary: TDD (Test-Driven Development) promises to make code more flexible, reliable, and with fewer side effects. However, the reality is that not everyone is capable of practicing TDD effectively. TDD requires experience, the ability to hold complex concepts in your head, and the knowledge of the solution to your problem. Additionally, not all problems are suited for testing, and the opportunity cost of committing to TDD upfront can be high. Ultimately, the decision to use TDD should be based on a cost/reward ratio and the specific needs of the project.
- URL: https://www.bitecode.dev/p/the-beautiful-theory-of-tdd-and-the
Highlights
-
Just like you have to quit thinking you can sustain this minimalist desktop setup that requires 4 context switching and 7 states holding in your head to perform actions with your keyboard that others will do with a few clicks 200 ms slower but with zero brain load. (View Highlight)
-
At some point it’s important to be able to self reflect, to look at yourself in the mirror, and really assess what you are capable of. (View Highlight)
-
You have to realize that the people that actually are capable of doing TDD are very few. (View Highlight)
-
But the main tool we use, is exploratory programming. (View Highlight)
-
Now, to be fair, reasonable TDD practitioners will not advocate for using it everywhere, all the time. Experienced programmers are usually pragmatic. (View Highlight)
-
Am I advocating unreliable code? (View Highlight)
📂 Articles | Последнее изменение: 23.11.2024 16:34