DEV Community

Discussion on: Refactoring: My 6 favorite patterns

Collapse
 
frankfont profile image
Frank Font

So cool that more than one of your favorite refactoring strategies specifically clarify intent of the code! This is so fundamental to good code. Having code communicate intent is so much more important than having code that is a few lines shorter.

Collapse
 
lexlohr profile image
Alex Lohr

Exactly. Code is meant to be read by developers. Computers don't need to understand the code to execute it, they only have to follow instructions.