Re:Why you should never ask permission to clean up code.
by nikster on Wednesday March 23, 2011 @11:05AM
(#2359686)
I guess you could say: Make it good. Just don't make it _too good_.
Not all code needs to be super general, extensible, and re-usable. However, all code needs to be simple and elegantly designed, and unit tested. It needs to not smell.
On the other hand, coding efficiently in the long term will likely sometimes be good for the bottom line, and you are closer to your code's efficiency than your boss. So one should make sure to understand why the boss wants to make a certain call.