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
Creational Patterns - Builder
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Chris Bushell
December 03, 2008
Programming
1
79
Creational Patterns - Builder
Prepared for the Melbourne Patters Group
Chris Bushell
December 03, 2008
Tweet
Share
More Decks by Chris Bushell
See All by Chris Bushell
Test Automation for Packaged Systems: Yes You Can!
cbushell
0
63
Introduction to Pair Programming
cbushell
1
120
An Introduction to BDD
cbushell
5
170
An Introduction to HTTP
cbushell
2
130
Agile Test Automation
cbushell
2
180
Working Effectively With Legacy Code
cbushell
4
250
Jasmine, BDD for JavaScript
cbushell
1
130
Branches Are For Trees. How to Develop Software Without Them
cbushell
1
110
State Pattern From GoF
cbushell
1
68
Other Decks in Programming
See All in Programming
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
180
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
100
Codex の「自走力」を高める
yorifuji
0
1.1k
CSC307 Lecture 14
javiergs
PRO
0
470
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
220
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
15
2.9k
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.1k
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
120
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
130
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
240
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
830
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
130
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
Optimising Largest Contentful Paint
csswizardry
37
3.6k
From π to Pie charts
rasagy
0
150
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
390
4 Signs Your Business is Dying
shpigford
187
22k
Code Review Best Practice
trishagee
74
20k
Odyssey Design
rkendrick25
PRO
2
540
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Producing Creativity
orderedlist
PRO
348
40k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Transcript
Crea%onal Pa+erns -‐ Builder Melbourne Pa+erns Group Dec 3
2008 Chris Bushell
Intent “Separate the construc%on of a complex object
from its representa%on so that the same construc%on process can create different representa%ons”
Applicability • Separate representa%on of an object from its
construc%on • Construc%on of object follows a definable algorithm • Different objects can be created following the same algorithm
Example • Build vehicle – Build engine – Build
chassis – A+ach engine to chassis – Build wheels – A+ach wheels to chassis Road car, F1 car, Airplane, ForkliQ truck etc.
Par%cipants
Code
Builder Vs. Abstract Factory • Builder
– Focus on process of crea%ng product by following an algorithm – Product is return as final step • Abstract Factory – Focus on building families of object