Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.65 KB

home.md

File metadata and controls

56 lines (45 loc) · 1.65 KB

Ruby Science

  • [[Replace Conditional with Polymorphism]] ( TODO )
  • [[Replace conditional with Null Object]]
  • [[Extract method]]
  • [[Extract Class]]
  • [[Extract Value Object]]
  • [[Extract Decorators]]
  • [[Extract Partial]]
  • [[Extract Service Object]]
  • [[Introduce Observer]]
  • [[Introduce Parameter Object ]]
  • [[Use class as Factory]] ( TODO )
  • [[Move method]]
  • [[Inline class]]
  • [[Inject dependencies]]
  • [[Replace mixin with composition]]
  • [[Use convention over configuration]]
  • [[Introduce Visitor]]

SOLID Principles


7 Patterns to Refactor Fat ActiveRecord Models

  • [[Extract Value Object]]
  • [[Extract Service Object]]
  • [[Extract Form Objects]]
  • [[Extract Query Objects]]
  • [[Introduce View Objects]]
  • [[Extract Policy Objects]]
  • [[Extract Decorators]]

Futhrt Reading

http://ghendry.net/refactor.html https://learn.thoughtbot.com/refactoring