Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
デザインパターンを学んだら世界が広がった話
Search
ほりしょー
May 31, 2023
Technology
2
310
デザインパターンを学んだら世界が広がった話
「めぐろLT#3」にて発表
https://raksul.connpass.com/event/281666/
ほりしょー
May 31, 2023
Tweet
Share
More Decks by ほりしょー
See All by ほりしょー
開発プロセスを継続的に改善する仕組み作り ~ 強いスクラムをいかに維持するか ~
h0r15h0
0
84
ドメインイベント増えすぎ問題
h0r15h0
2
730
LLM(Copilot)を最大限活用するための取り組みとその副産物
h0r15h0
1
170
現実世界の事象から学ぶSOLID原則
h0r15h0
28
19k
集団意思決定の落とし穴と誰も望まない技術的負債
h0r15h0
1
4.9k
Goのパーサ作ってvscode拡張作ってみた!
h0r15h0
0
150
Other Decks in Technology
See All in Technology
モニタリング統一への道のり - 分散モニタリングツール統合のためのオブザーバビリティプロジェクト
niftycorp
PRO
1
360
Amplify Gen2から知るAWS CDK Toolkit Libraryの使い方/How to use the AWS CDK Toolkit Library as known from Amplify Gen2
fossamagna
1
240
Delta airlines®️ USA Contact Numbers: Complete 2025 Support Guide
airtravelguide
0
350
ゼロからはじめる採用広報
yutadayo
4
1k
ソフトウェアQAがハードウェアの人になったの
mineo_matsuya
3
110
VGGT: Visual Geometry Grounded Transformer
peisuke
1
620
インフラ寄りSREの生存戦略
sansantech
PRO
9
3.4k
SRE不在の開発チームが障害対応と 向き合った100日間 / 100 days dealing with issues without SREs
shin1988
2
1.5k
Getting to Know Your Legacy (System) with AI-Driven Software Archeology (WeAreDevelopers World Congress 2025)
feststelltaste
1
180
〜『世界中の家族のこころのインフラ』を目指して”次の10年”へ〜 SREが導いたグローバルサービスの信頼性向上戦略とその舞台裏 / Towards the Next Decade: Enhancing Global Service Reliability
kohbis
3
1.1k
AIの全社活用を推進するための安全なレールを敷いた話
shoheimitani
2
640
How Do I Contact HP Printer Support? [Full 2025 Guide for U.S. Businesses]
harrry1211
0
130
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
How to Ace a Technical Interview
jacobian
278
23k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
970
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
A Modern Web Designer's Workflow
chriscoyier
695
190k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
For a Future-Friendly Web
brad_frost
179
9.8k
Agile that works and the tools we love
rasmusluckow
329
21k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Documentation Writing (for coders)
carmenintech
72
4.9k
Transcript
堀崎祥 デザインパターンを学んだら 世界が広がった話
Template Method パターン Bridge パターン 堀崎祥 ラクスル23 新卒入社 ハコベル所属 好きなデザインパターン
自己紹介
デザインパタ ーンとは? ソフトウェア開発における設計パターンに ついての経験やノウハウをまとめたもの。 再利用しやすく機能拡張しやすいソフトウ ェアを作るための有益な技法。 GoF(the Gang of Four)
が 書籍『オブジェクト指向における再利用の ためのデザインパターン』に整理。
今の若者には 理解できない そもそもOOP が 廃れつつある 複雑度に対して わずかな恩恵 時代遅れ デザインパターン不要論
デザインパターンは 不要なのか?
実際に学んで感じた世界の変化を 若手( 新卒) 目線で語ってみる
デザインパターン学習後の変化 コードから見える情報が増加 情報A 情報B 情報C
Rails のとあるコントローラー デザパタを学ぶ前の世界 継承 諸々親が担ってそう メソッド引き継いでそう いい感じにDB から取 り出してくれる
継承 委譲より強い結びつき Observer パターン 各アクションの呼び出 しを監視 機能の追加 Template Method パターン
実行順を子が制御 しなくて良い Facade パターン DB の制御を隠し 簡単なAPI を提供 デザパタを学んだ後の世界
情報量の増加による恩恵 OOP への 深い理解 01 創造性の 刺激 03 設計意図を 汲み取れる
02 情報が多いほど 学びになる。 コーディングに 迷いにくくなる。 OSS も読めるように 他者のコードから いくつもの新発見
OOP ・設計の理解に大きく貢献 不要だとは全く思わない
デザインパターンを学んで 見える世界を広げよう