|
|
submitted by
nsoonhui
2 months, 24 days ago
itscommonsensestupid.blogspot.com — 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.
|
|
tags:
Testing | tag it
Everyones tags: | Your tags: | |
|
|
|
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking
the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
Users who kicked this story:
No comments so far
|