I have read the following discussions:
http://stackoverflow.com/questions/538870/java-static-methods-best-practices , and
http://stackoverflow.com/questions/658407/static-methods
It seems that people in general would accept static methods, but are a little bit skeptical about it, for the following 2 reasons:
- They are hard to test.
- They violate the OO principal. (They are functions, not methods, said a person.)
And the most acceptable static methods are private static ones. But then why do static methods exist at all, and in what situations they are the first priority to be adopted?