|
|
|
|
|
by monster_group
1357 days ago
|
|
Static methods are a pain for unit testing though. I have started avoiding them for that reason alone. For stateless objects, you can always have a singleton and invoke all the methods on that object giving effectively static behavior without the baggage. |
|