Refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves its internal structure.
— Martin Fowler, quoted in What Is Refactoring
Refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves its internal structure.
— Martin Fowler, quoted in What Is Refactoring
An optimization for your Ruby refactoring sessions. This page is just for members. Sign in or subscribe to gain access! Username Password Remember Me Forgot Password
Is there such a thing as a method that is too small? Is it worth it to extract a method just to satisfy a guideline like the Law of Demeter?
Learn a concise way to treat a module as an object in Ruby.
If you've done much Rails coding, you've probably heard the guideline: “skinny controller, fat model”. But achieving this can be easier said than done. Especially when your controllers are bloated with …
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.