Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 2
    Focus on documenting the why's of the optimized functions! Commented Nov 8, 2011 at 6:52
  • I hope the code is under source control. If so, you will benefit from the comments entered for each change (if any). Commented Nov 9, 2011 at 20:56
  • Good call on using Michael Feathers' Working Effectively with Legacy Code. Definitely need to start getting those test cases written around the modules that you think are most likely to need modification. If you start now it will be easier to get expectations correct. Commented Nov 9, 2011 at 22:37
  • There is a phase before refactoring, which I have a doubt for which Internet seems to be poor on answers: What do top programmers do to understand someone else's complicated and illegible code? Commented Apr 26, 2017 at 0:44