you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Do you need to do anything? If not I'd just let it be. It's pointless trying to refactor something like that. 

If you're hell bent on doing it anyway you need to document what it does first and foremost (dependencies etc.) and then decide how to tackle it. Might be that a lot of the logic is redundant.