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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
380
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
220
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
1.3k
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
150
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
420
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
1.1k
AI 開発合宿を通して得た学び
niftycorp
PRO
0
170
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
ファインチューニングせずメインコンペを解く方法
pokutuna
0
150
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
150
CSC307 Lecture 15
javiergs
PRO
0
260
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
270
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
3
480
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.2k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Design in an AI World
tapps
0
180
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
250
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
GitHub's CSS Performance
jonrohan
1032
470k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Building Adaptive Systems
keathley
44
3k
Designing for Timeless Needs
cassininazir
0
170
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