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
Duck Typing
Search
Javier Cervantes
May 30, 2014
Programming
0
100
Duck Typing
Based on chapter #5 of POODR.
Given at rubygdl.org.
Javier Cervantes
May 30, 2014
Tweet
Share
More Decks by Javier Cervantes
See All by Javier Cervantes
Continuous Delivery para todos @ SGNext
solojavier
0
120
Gobot.io y el internet de las cosas
solojavier
0
110
Deliberate Practice - Lightning Talk
solojavier
0
160
Golang - WePow Talks
solojavier
0
64
Server Provisioning and Configuration
solojavier
0
68
Evolución Robótica
solojavier
0
52
Re-evolución robótica
solojavier
0
92
Artoo : Ruby on robots
solojavier
0
120
Las pruebas primero
solojavier
0
69
Other Decks in Programming
See All in Programming
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
460
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
290
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
140
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
730
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
430
AI & Enginnering
codelynx
0
120
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.6k
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
220
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.4k
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
140
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
350
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
380
How STYLIGHT went responsive
nonsquared
100
6k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
67
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Transcript
Duck Typing @ruby_gdl << @solojavier # Based on chapter 5
of book poodr.com
What is Duck Typing "If an object quacks like a
duck and walks like a duck, then it's a duck" Technique that help us reduce cost of change Public interfaces not tied to any specific class Duck typed objects are chameleons that are defined more by their behaviour than by their class
Learning by example
None
None
requirements.change!
None
None
code_design.add(:duck_typing)
None
None
None
Summary Duck typing detaches public interfaces from classes It creates
virtual types defined by behaviour Depending on this abstractions increases flexibility This will make your application easier to change