$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pricípios de Orientação a Objetos em Ruby
Search
paulociecomp
May 11, 2019
Programming
0
84
Pricípios de Orientação a Objetos em Ruby
paulociecomp
May 11, 2019
Tweet
Share
More Decks by paulociecomp
See All by paulociecomp
Um Zumbi chamado Agilidade - Versão do Paulo Moura
paulociecomp
0
410
Other Decks in Programming
See All in Programming
GoLab2025 Recap
kuro_kurorrr
0
780
AIコーディングエージェント(NotebookLM)
kondai24
0
220
[AtCoder Conference 2025] LLMを使った業務AHCの上⼿な解き⽅
terryu16
5
710
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
310
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
160
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
250
ゆくKotlin くるRust
exoego
1
160
Java 25, Nuevas características
czelabueno
0
100
AIコーディングエージェント(Gemini)
kondai24
0
270
Navigating Dependency Injection with Metro
l2hyunwoo
1
180
JETLS.jl ─ A New Language Server for Julia
abap34
2
450
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
190
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
80
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.5k
Believing is Seeing
oripsolob
0
15
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
0
300
Building a Scalable Design System with Sketch
lauravandoore
463
34k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
89
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
27
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.4k
Transcript
Princípios de Design OO em Ruby Paulo Moura
Projetar não é produtivo
Mas, não projetar tem um custo
Princípios Básicos
–Sandi Metz “Prefira duplicação ao invés da abstração errada.”
None
None
None
Achei essa solução muito boa, talkei.
None
None
None
None
None
None
None
None
Diga, não pergunte
None
None
• Não usar abstrações pobres • Uso adequado de Herança
• Polimorfismo • Injeção de dependência • Princípio aberto fechado • Responsabilidade única • Não depender de dados e sim de abstrações • Baixo acoplamento
Referências • Sandi Metz • Practical Object-Oriented Design in Ruby:
An Agile Primer, Sandi Metz
Obrigado • Twitter: @paulociecomp • tasafo.org • Medium: @paulociecomp