エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Visitor Pattern in Ruby: Examples from Rubocop
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Visitor Pattern in Ruby: Examples from Rubocop
In this post, we’ll learn about the Visitor design pattern and it’s tradeoffs by looking at a rea... In this post, we’ll learn about the Visitor design pattern and it’s tradeoffs by looking at a real world example: Rubocop, a Ruby linting and formatting library. What is the Visitor design pattern? The visitor design pattern separates the operation to be performed from a complex object structure (e.g. a graph whose nodes have many types). This makes it easy to introduce new operations (“visitors”)