Static Method, Is It that Harmful?(itscommonsensestupid.blogspot.com)
submitted by
nsoonhui(1810) 3 years, 7 months ago
Static method is much more easier to learn, and use compare to OOP and polymorphism,. But somehow it acquires a bad name in the TDD circles. Some people don't like static methods . The reason? Can't mock the static methods. But does this mean that static methods should be avoided at all cost? I don't agree.
|category: Unit Testing
|Views: 12
tags:
Testing another
Everyones tags:
Your Tags: