3 ms·
I don't know about wrong, but I sure wouldn't do it that way. Adding a new class makes everything more complex for the next guy to figure out, and doesn't actua
by damoncali 14y ago
I don't know about wrong, but I sure wouldn't do it that way. Adding a new class makes everything more complex for the next guy to figure out, and doesn't actually solve any current problems. It just moves the code somewhere else.
While this example is not an abomination, the desire to "clean up" code like this can be indicator of a compulsive over-builder - and that can extract a heavy price down the road. So the sr dev is right to be cautious.