3 ms·
Here's a round up on static methods vs testability: http://googletesting.blogspot.com/2008/12/static-methods-are-death-to-testability.html?m=1 http://googletest
by praptak 12y ago
Here's a round up on static methods vs testability:
http://googletesting.blogspot.com/2008/12/static-methods-are-death-to-testability.html?m=1 http://googletesting.blogspot.com/2008/12/static-methods-are...
Also related: http://misko.hevery.com/2008/08/17/singletons-are-pathological-liars/ http://misko.hevery.com/2008/08/17/singletons-are-pathologic...