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
The Closure Challenge
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
npapagna
October 25, 2014
Programming
0
45
The Closure Challenge
Lightning Talk at Ruby Conf Argentina 2014
npapagna
October 25, 2014
Tweet
Share
More Decks by npapagna
See All by npapagna
Growing Apprentices: a values-based training program
npapagna
1
78
Ruby, el lenguaje de tu proximo proyecto
npapagna
0
220
To Mock a Mockingbird
npapagna
0
87
Wishful Thinking - Code Review With Myself
npapagna
0
110
Other Decks in Programming
See All in Programming
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
300
AIに任せる範囲を安全に広げるためにやっていること
fukucheee
0
140
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
520
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
290
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
6
2.1k
クライアントワークでSREをするということ。あるいは事業会社におけるSREと同じこと・違うこと
nnaka2992
1
350
SourceGeneratorのマーカー属性問題について
htkym
0
200
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
0
190
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
1.1k
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
110
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
400
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
230
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
1
260
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
Scaling GitHub
holman
464
140k
Unsuck your backbone
ammeep
672
58k
The SEO Collaboration Effect
kristinabergwall1
0
400
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Designing Experiences People Love
moore
143
24k
Paper Plane
katiecoart
PRO
0
48k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
130
Color Theory Basics | Prateek | Gurzu
gurzu
0
260
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
980
Visualization
eitanlees
150
17k
Transcript
@NicolasPapagna
[email protected]
Work @ TA @ Facultad de Ciencias Exactas
y Naturales (UBA)
OBJECT = CODE + DATA True or false?
The Closure Challenge
def foo block = proc{ return } block.call raise ‘oops!’
end
def foo a_block block = bar a_block block.call raise ‘oops!’
end
You can only use the Ruby core library. The only
gem you can use* is Binding of Caller. Your solution should run on MRI and JRuby. * if needed Rules
Best solution so far: 2 lines of code
https://github.com/10Pines/the_closure_challenge
@10pines @NicolasPapagna development.10pines.com
[email protected]
blog.10pines.com