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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Javier Cervantes
May 30, 2014
Programming
110
0
Share
Duck Typing
Based on chapter #5 of POODR.
Given at rubygdl.org.
Javier Cervantes
May 30, 2014
More Decks by Javier Cervantes
See All by Javier Cervantes
Continuous Delivery para todos @ SGNext
solojavier
0
130
Gobot.io y el internet de las cosas
solojavier
0
120
Deliberate Practice - Lightning Talk
solojavier
0
160
Golang - WePow Talks
solojavier
0
69
Server Provisioning and Configuration
solojavier
0
71
Evolución Robótica
solojavier
0
56
Re-evolución robótica
solojavier
0
100
Artoo : Ruby on robots
solojavier
0
120
Las pruebas primero
solojavier
0
76
Other Decks in Programming
See All in Programming
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
飯MCP
yusukebe
0
500
Feature Toggle は捨てやすく使おう
gennei
0
570
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
590
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
6.3k
How Swift's Type System Guides AI Agents
koher
0
230
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
470
Swift Concurrency Type System
inamiy
0
480
Rethinking API Platform Filters
vinceamstoutz
0
11k
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
110
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
190
Vibe하게 만드는 Flutter GenUI App With ADK , 박제창, BWAI Incheon 2026
itsmedreamwalker
0
550
Featured
See All Featured
Docker and Python
trallard
47
3.8k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
170
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
WCS-LA-2024
lcolladotor
0
530
The SEO Collaboration Effect
kristinabergwall1
0
420
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
270
Leo the Paperboy
mayatellez
7
1.6k
Speed Design
sergeychernyshev
33
1.6k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
A Tale of Four Properties
chriscoyier
163
24k
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