Yeah, you know me.
New chapters this week discuss:
- Using the Single Responsibility Principle to create readable, reusable classes.
- Applying the Open/Closed Principle to reduce churn and prevent breakage while keeping objects easy to change.
- Applying the Dependency Inversion Principle to create flexible, reusable objects.
- Using the Law of Demeter to prevent application dependencies from becoming a tangled mess.
- Choosing Composition Over Inheritance to make simpler, more flexible software.
The book is a work in progress, and is currently 230 pages long. Your purchase gets you access to the current release of the book, all future updates, and the companion example application.
Now Available For Free With Learn Prime
We recently launched a service to help subscribers become better developers, called Learn Prime.
For just $99/month, you get ongoing access to everything we teach, including books like Ruby Science. You’ll even get access to all our in-person and online workshops. Get access to exclusive subscriber content and use the forum to ask thoughtbot your toughest Ruby, Rails, and refactoring questions.