There is 1 article written in July, 2018

Legacy code is 3rd party code

on July 19, 2018. in Programming, Development, Blablabla. A 6 minute read.

Within the TDD community there’s an advice saying that we shouldn’t mock types we don’t own. I believe it is good advice and do my best to follow it. Of course, there are people who say that we shouldn’t mock in the first place. Whichever TDD camp you’re in I think this “don’t mock what you don’t own” advice has an even better advice hidden in it. An advice that people often overlook because they see the word “mock” in it and go full berserk.

Continue reading Legacy code is 3rd party code...