DEV Community

Discussion on: Clean Code Chapter 1

Collapse
 
teamradhq profile image
teamradhq

Yeah it's really relevant to software design isn't it?

As I was reading this part of the chapter I found myself thinking of a habit I've developed over the years, when touching a file.

  1. Open file.
  2. Reformat code.
  3. Commit: "REFACTOR: Reformat code"

It can add a bit of noise to diffs, but over time it becomes less and less.