re: Do you have nice examples of refactoring code? VIEW POST


I just wrote a post on refactoring some Go code to use interfaces. I outline the steps used to refactor this particular pattern:

I would also suggest reading It's a fantastic book that refactors code throughout the book and explains how to get there.

code of conduct - report abuse