Ugh. I just saw an example of how one should write a method to make it more easily testable.
It was horrible and over complicated the function. However, I can see the reasoning, and the example was for illustration purposes.
But still left me SMH.
Ugh. I just saw an example of how one should write a method to make it more easily testable.
It was horrible and over complicated the function. However, I can see the reasoning, and the example was for illustration purposes.
But still left me SMH.