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
Pricípios de Orientação a Objetos em Ruby
Search
paulociecomp
May 11, 2019
Programming
0
86
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
Windows on Ryzen and I
seosoft
0
360
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
240
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
140
存在論的プログラミング: 時間と存在を記述する
koriym
4
450
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.2k
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
510
ふつうのRubyist、ちいさなデバイス、大きな一年 / Ordinary Rubyists, Tiny Devices, Big Year
chobishiba
1
500
Ruby and LLM Ecosystem 2nd
koic
1
1.3k
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
280
20260320登壇資料
pharct
0
120
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
140
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
160
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
180
Un-Boring Meetings
codingconduct
0
240
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.5k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
Building the Perfect Custom Keyboard
takai
2
720
Fireside Chat
paigeccino
42
3.8k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
250
Making Projects Easy
brettharned
120
6.6k
30 Presentation Tips
portentint
PRO
1
260
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
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