Discussion about this post

User's avatar
Stuart Leitch's avatar

One other thing I've observed about bugs in the forest is that they often generate a lot of curiosity. When the rare report of a Genuine Production Bug appears, it's common for lots of people to voluntarily down tools and huddle round to see what this interesting, exotic specimen is.

Expand full comment
Vladimir Bychkovsky's avatar

I have developed a library once that was in production under very high and diverse load in big tech. The library had only one minor bug that was found after a full year in production. Did it take me a long time to write that? No, it was actually pretty fast (maybe 2 months of actual coding). What’s the secret? Religious application of test driven development from start to finish.

In other words, I had lots of bugs, but they all showed up upfront, before production. The strong test coverage also allowed me to do all kinds of refactoring with confidence enabling me to move faster when I discovered structural problems or did performance optimizations based on profiles from prod. All of this to say that TDD is great for reducing defects before they hit production…

Do you know if those XP teams used TDD in addition to pairing?

Expand full comment
18 more comments...

No posts