DEV Community

Discussion on: Is it worth reading source code?

Collapse
 
joshcheek profile image
Josh Cheek • Edited

Best to consider refactoring before considering rewriting/reinventing, IME.

Thread Thread
 
codemouse92 profile image
Jason C. McDonald

Depends entirely on the code base. Rewriting is usually much quicker than refactoring someone else's spaghetti.

Thread Thread
 
joshcheek profile image
Josh Cheek

I'm advocating considering refactoring first, not saying it is always the answer.