Extract conditionals into well-named methods
26-Jan-2018 2413
One of the simplest (and most effective) ways to refactor is to extract a method. The naming of an extracted method is a great tool for communicating the thinking behind the code.
Extract conditionals into well-named methods #ruby #rubydeveloper #rubyonrails #Extract #conditionals #well-named #methods https://rubyonrails.ba/link/extract-conditionals-into-well-named-methods