Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Design Patterns in Ruby

    Design Patterns in Ruby

    Russ Olsen · 2007

    Implement common design patterns, including the original GoF patterns, in the burgeoning Ruby programming language.

    Software EngineeringProgramming
    Open LibraryAmazon
    Stats for nerds
    15recommend
    26mentions
    24people
    2009–2025years
    65% recommend35% neutral

    Mentions per year

    200920112013201520172019202120232025

    What Hacker News says

    1. brigandishMar 2023
      It's been a while since I did C#/dotnet but I imagine the ecosystem (i.e. Windows, SQL Server etc) in terms of cost and, shall we say, inflexibility, would be high in people's minds. That, and the kind of boilerplate required that means people don't start with Java nowadays either.

      I moved from C# to Ruby, and along the way I read Design Patterns in Ruby[1] (which I highly recommend), and it went through several of the patterns I used to have to apply in C# to make it workable, and it would then show me they weren't needed in Ruby because of the structure of the language. Maybe C# has improved in these kind of things, but things like that matter when developers are also expensive and you want to crank out features.

      [1] http://designpatternsinruby.com/

      thread
    2. brigandishNov 2021
      > hell maybe even one of the best programming books

      My thoughts exactly. I loved it so much I emailed the author and - embarrassingly - told him he was the Mark Twain of programming books! He replied and was also very embarrassed by the comparison.

      Or maybe that was for his other book, Design Patterns in Ruby, I don't remember as I try hard to forget the details of embarrassing moments. I'm still waiting for a Lacuna-like company to arise and help me forget them all…

      Still, either book is well worth a read, both are top of my recommendations. If he (Russ Olsen) ever writes one about Haskell then perhaps it'll finally go mainstream :)

      thread
    3. fellellorAug 2019
      I am trying to find a place in the industry - again, starting from RoR. I absolutely love Ruby. And all this talk of "Ruby dying" makes me feel sad. The rational thing to do is to move on, and learn something popular, like node.js but the more I see Ruby in action, I just can't pull myself away from it.

      I had managed to get a job as a Java developer a long time ago, but at that time all I could do was barely write toy apps in Java and I had no exposure to stuff like design patterns. The whole experience left me in a bad place. Now after all these years, Ruby feels like a breath of fresh air, and the texts that I have come across on the subject - Design Patterns in Ruby, Practical OOD in Ruby, Ruby under a Microscope etc. have increased my interest in the language.

      But more and more frequent articles on Ruby's decline are pretty disheartening.

      thread
    4. intertextualityApr 2019
      I believe I started with Beginning Ruby: From Novice to Professional by Peter Cooper. I liked The Well Grounded Rubyist and I've heard Eloquent Ruby is also good. Design Patterns in Ruby is less about ruby and more about design patterns, but still a good read.

      I learned a lot about Rails from Michael Hartl's Ruby on Rails Tutorial book.

      I learned the most through doing, though. I would work on building my own website and looked up anything I didn't know.

      thread
    5. bigtunacanJul 2014
      I've seen multiple people mention the GoF's Design Patterns book. This is well known and worth several reads through; it will take multiple passes to grok all of it.

      There are several other books that have tried to explain the GoF's Design Patterns in either an easier to approach manner, or in the context of a specific language they have tried to explain where new design patterns have emerged or the original patterns had mutated.

      A couple of those worth checking out are

      "Head First Design Patterns"

      http://www.amazon.com/Head-First-Design-Patterns-Freeman/dp/...

      "Design Patterns In Ruby"

      http://www.amazon.com/Design-Patterns-Ruby-Russ-Olsen/dp/032...

      "Learning JavaScript Design Patterns"

      http://www.amazon.com/Learning-JavaScript-Design-Patterns-Os...

      thread
    6. jurassicJan 2014
      I loved it. Beyond pure technical chops, Russ Olsen is a great writer which makes his books stand out to me from other programming books I've read. In Design Patterns in Ruby each chapter handles a different pattern with a simple example that's easy to understand. And at the end of each chapter Olsen points out where that pattern is used "in the wild" in popular ruby projects if you'd like to see a larger example.
      thread

    Related

    Cover of Eloquent Ruby
    2011–2026

    Eloquent Ruby

    Russ Olsen
    44 recommend · 68
    Cover of Metaprogramming Ruby
    2009–2026

    Metaprogramming Ruby

    Paolo Perrotta
    33 recommend · 49
    Cover of Practical Object Oriented Design In Ruby
    2012–2025

    Practical Object Oriented Design In Ruby

    Sandi Metz
    46 recommend · 72
    Cover of The Rails way
    2008–2022

    The Rails way

    Obie Fernandez
    22 recommend · 42
    Cover of The Ruby programming language
    2008–2023

    The Ruby programming language

    David Flanagan
    14 recommend · 37
    Cover of Design Patterns
    2007–2026

    Design Patterns

    Erich Gamma
    95 recommend · 491
    Cover of Crafting rails applications
    2011–2016

    Crafting rails applications

    Jose Valim
    recommend · 10
    8
    Cover of The well-grounded Rubyist
    2009–2023

    The well-grounded Rubyist

    David A. Black
    31 recommend · 47