4 ms·
Unfortunately some Java developers don't distinguish between stateful and stateless static methods and just say all static methods are bad. (But note that if th
by skybrian 12y ago
Unfortunately some Java developers don't distinguish between stateful and stateless static methods and just say all static methods are bad. (But note that if the method does I/O it's stateful; you generally want I/O calls to be replaceable.)