DEV Community

Discussion on: Do you even refactor, bro?

Collapse
 
marcus profile image
Marcus M

Bluebird covered a lot in the comment dev.to/bluebird1/comment/4pjh.

What helps me a lot is the usage of a rough map of objects, functions and templates (usually done with draw.io/). Then I start making the map easier to read and change the code to reflect that.

Collapse
 
codevault profile image
Sergiu Mureşan

Great idea! A full view of the whole architecture always helps. I sometimes look at the automatically generated class hierarchy if the IDE provides such a feature.

Collapse
 
marcus profile image
Marcus M

Yes, exactly! It's such a helpful feature for refactoring smaller parts of a big application.