When refactoring Ruby code, getting a fresh perspective on the data model can help drive out a cleaner design.
In which we examine some of the pitfalls of handling badly-formed user input for Whole Value fields.
In this episode, guest chef Sam Livingston-Gray shows us how getting a new view on our data model can drive out a cleaner design.
Today, in part 1 of 2, we explore the implications of a common code smell.
Today, we think about separating concerns at the very lowest level.
In today's episode we explore a strategy for breaking circular method dependencies.
Which way do your methods point?
In this episode we take a method with a large and unweildy signature, and begin to pull parameters out into configurable options.
Today, a story about a refactoring that went south, and turned out not to be a refactoring at all.
Today's episode deals with a small matter of style, one that can have an impact on how easy it is to refactor code.