Cheat sheet for all design patterns implemented in Ruby?

前端 未结 2 799
抹茶落季
抹茶落季 2021-02-04 21:27

I wonder if there are cheat cheets for all design patterns implemented in Ruby so that you don\'t have to reinvent the wheel.

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-04 22:14

    This document has nice examples of actual implementation of some of the design patterns from the GoF.

    It may be a "cheatsheet", but I don't think is a silver-bullet reference for design patterns because they emerge once you have analyzed a problem, and the pattern fits the solution you're giving. Is not a recipe, but rather a good reference.

    And, of course, is the great book Design patterns in Ruby

提交回复
热议问题