Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
The Closure Challenge
Search
npapagna
October 25, 2014
Programming
52
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The Closure Challenge
Lightning Talk at Ruby Conf Argentina 2014
npapagna
October 25, 2014
More Decks by npapagna
See All by npapagna
Growing Apprentices: a values-based training program
npapagna
1
85
Ruby, el lenguaje de tu proximo proyecto
npapagna
0
230
To Mock a Mockingbird
npapagna
0
110
Wishful Thinking - Code Review With Myself
npapagna
0
120
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
3
550
setup-vp GitLab対応の裏側
naokihaba
0
110
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
210
Security issues being discussed on Web Platforms
petamoriken
0
960
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
240
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
250
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
170
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
160
wkhtmltopdfの次どうするか問題2026
willnet
2
1.3k
フロントエンドUIフレームワークのこれまでとこれから
ssssota
5
2.8k
Webの地図
yosuke_furukawa
PRO
6
4.6k
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
280
Speed Design
sergeychernyshev
33
2.1k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
360
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
850
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
Odyssey Design
rkendrick25
PRO
2
810
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
540
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
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