Ruby Science: Dependency Injection, Inlining Classes, and DRY
We just pushed the latest update to Ruby Science, including three new chapters. Previous purchasers and Prime subscribers can grab the update on Learn.
New chapters this week discuss:
- Using dependency injection to make changes easier and keep decisions close to the objects they affect.
- Inlining classes that no longer pull their own weight to improve readability and simplify dependencies.
- Our first principle chapter, which discusses DRY, including smells and solutions related to detecting and eliminating duplication.
The book is a work in progress, and currently contains around 158 pages of content. Your purchase gets you access to the current release of the book, all future updates, and the companion example application. In addition, purchasers can send thoughtbot their toughest Ruby, Rails, and refactoring questions.
Get your copy of Ruby Science today.
Now Available For Free With Learn Prime
Earlier this week, we announced the launch of our subscription service: 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, as well as access to our private Campfire room, where you can get live help from thoughtbot designers and developers.