DEV Community

Discussion on: How do you deal with legacy projects?

Collapse
 
richardhaven profile image
No Clever Code

"an entire day" ‽

I've spent weeks inventorying code (while also working on new features, granted)

Top-down coding lost its cachet in the '80s, but it's the best way to avoid creating "legacy code": instead of a big mess of spaghetti, at worst one makes lots of little bowls of macaroni, which one can refactor individually