More smell

If you see a static method, that uses an object as a combined input/output parameter: This is more than a slight hint that this method should be part of the object.

(Of course it’s mysterious why something like that is implemented in the first place…)

Advertisements

Comments are closed.

Blog at WordPress.com.

Up ↑

%d bloggers like this: