What is the politically correct way of refactoring other's code?

Posted by dukeofgaming on Programmers See other posts from Programmers or by dukeofgaming
Published on 2012-11-12T17:06:56Z Indexed on 2012/11/12 17:18 UTC
Read the original article Hit count: 268

I'm currently working in a geographically distributed team in a big company. Everybody is just focused on today's tasks and getting things done, however this means sometimes things have to be done the quick way, and that causes problems... you know, same old, same old.

I'm bumping into code with several smells such as: big functions pointless utility functions/methods (essentially just to save writing a word), overcomplicated algorithms, extremely big files that should be broken down into different files/classes (1,500+ lines), etc.

What would be the best way of improving code without making other developers feel bad/wrong about any proposed improvements?

© Programmers or respective owner

Related posts about code-quality

Related posts about refactoring