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
Pricípios de Orientação a Objetos em Ruby
Search
paulociecomp
May 11, 2019
Programming
94
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pricípios de Orientação a Objetos em Ruby
paulociecomp
May 11, 2019
More Decks by paulociecomp
See All by paulociecomp
Um Zumbi chamado Agilidade - Versão do Paulo Moura
paulociecomp
0
420
Other Decks in Programming
See All in Programming
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
550
残高管理から台帳サービスへの進化
artoy
1
200
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
Next.js: The final boss of Web Performance
guaca
0
260
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Deep Space Network (abreviated)
tonyrice
0
370
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
Believing is Seeing
oripsolob
1
240
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
It's Worth the Effort
3n
188
29k
Google's AI Overviews - The New Search
badams
0
1.6k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
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