# Design Patterns in Ruby

DevFeed: [Design Patterns in Ruby](<https://devfeed.tech/articles/design-patterns-in-ruby-27771.md>)

Original publisher: [Read original article](<https://gagor.pro/book/2016/design-patterns-in-ruby/>)

Author: Tom

Published: 2016-02-10T00:00:00Z

Content type: opinion

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [ruby programming language](<https://devfeed.tech/topics/ruby-programming-language.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Inheritance](<https://devfeed.tech/topics/inheritance.md>), [interfaces](<https://devfeed.tech/topics/interfaces.md>)

Tags: [design-patterns](<https://devfeed.tech/tags/design-patterns.md>), [developer](<https://devfeed.tech/tags/developer.md>), [inheritance](<https://devfeed.tech/tags/inheritance.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [technology](<https://devfeed.tech/tags/technology.md>)

## AI overview

A personal review of Russ Olsen's Design Patterns in Ruby, describing it as an effective introduction to Ruby for experienced programmers. The review highlights its idiomatic solutions, clear examples, exercises, and discussion of composition versus inheritance.

## Source excerpt

Ruby Wzorce projektowe Author: Russ Olsen My adventure with Ruby books started with "The Ruby Programming Language" . To be honest, it wasn't quite what I was looking for at the time. But "Design Patterns in Ruby" filled that gap perfectly. It provides a quick and effective introduction to the language, which is perfect if you're already familiar with another programming language and don't need a primer on the basics. The book then iteratively explores various programming problems and presents idiomatic Ruby solutions. I particularly enjoyed the section on composition versus inheritance, which clarified why building deep object hierarchies isn't always the best approach. That was a lightbulb moment for me; I finally grasped the benefits of interfaces and felt like I'd become a more capable developer after reading it. The examples were clear and the exercises were engaging.