We just pushed the latest update to Ruby Science, including three new chapters.
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.