Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
デザインパターンを学んだら世界が広がった話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ほりしょー
May 31, 2023
Technology
480
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
デザインパターンを学んだら世界が広がった話
「めぐろLT#3」にて発表
https://raksul.connpass.com/event/281666/
ほりしょー
May 31, 2023
More Decks by ほりしょー
See All by ほりしょー
~ 秘伝のタレ化した『神スプシ』と戦う ~ 関数型パラダイムで壊れない仕組みへ
h0r15h0
1
220
Hello_LT_world_新年度前に振り返ろう_失敗から学んだ教訓_LT_Night___1_.pdf
h0r15h0
1
30
開発プロセスを継続的に改善する仕組み作り ~ 強いスクラムをいかに維持するか ~
h0r15h0
0
150
ドメインイベント増えすぎ問題
h0r15h0
2
890
LLM(Copilot)を最大限活用するための取り組みとその副産物
h0r15h0
1
260
現実世界の事象から学ぶSOLID原則
h0r15h0
30
23k
集団意思決定の落とし穴と誰も望まない技術的負債
h0r15h0
1
5.5k
Goのパーサ作ってvscode拡張作ってみた!
h0r15h0
0
250
Other Decks in Technology
See All in Technology
Running Kotlin + Quarkus with Lambda
nealle
1
4k
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
890
その Valkey 使いこなしていますか?
onk
PRO
5
1.6k
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
210
freeeにおけるSoftware Factory
freee
PRO
0
100
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
320
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
310
AI時代のPRレビューにどう向き合うか?
kairim0
1
250
hackers_champloo_2026_tidb
makocchi
0
170
Refining Active Record
shugo
0
170
ウォンテッドリーの最近のプロダクトと技術の紹介
stomk
0
220
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
130
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
4
540
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Amusing Abliteration
ianozsvald
1
350
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
What's in a price? How to price your products and services
michaelherold
247
13k
Skip the Path - Find Your Career Trail
mkilby
1
260
First, design no harm
axbom
PRO
2
1.3k
Typedesign – Prime Four
hannesfritz
42
3.2k
How to make the Groovebox
asonas
2
2.5k
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 ・設計の理解に大きく貢献 不要だとは全く思わない
デザインパターンを学んで 見える世界を広げよう