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
70
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
380
Other Decks in Programming
See All in Programming
Code Reviews
bkuhlmann
4
890
Tailwind CSSを本気でカスタマイズする方法
fsubal
13
5.2k
PostmanでAPIの動作確認が楽になった話
h455h1
0
170
Site Reliability Engineering for GMO
pyama86
8
1k
ゆるい個人開発のススメ
kuroppe1819
10
990
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
190
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
360
Fragment Composition of GraphQL
quramy
7
960
エンターテイメント業界で利用されるAWS
demuyan
0
210
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
23
15k
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
960
Apache Hive 4 on Treasure Data
ryukobayashi
0
290
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
It's Worth the Effort
3n
180
27k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Code Review Best Practice
trishagee
55
15k
BBQ
matthewcrist
80
8.8k
Facilitating Awesome Meetings
lara
42
5.6k
What's new in Ruby 2.0
geeforr
337
31k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Embracing the Ebb and Flow
colly
80
4.1k
Rebuilding a faster, lazier Slack
samanthasiow
73
8.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
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