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
To iterate is human, to recurse divine
Search
Manuel Vidaurre
July 17, 2014
Programming
2.5k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
To iterate is human, to recurse divine
A review on recursion and tail-recursion in Ruby and Elixir
Manuel Vidaurre
July 17, 2014
Transcript
12 slides
None
None
None
To iterate is human, to recurse divine. ~ L. Peter
Deutsch by Manuel Vidaurre https://speakerdeck.com/mvidaurre http://agiltec.com.mx/ruby/software-engineering/2014/05/10/to- iterate-is-human-to-recurse-divine.html
Recursion and Memoization http://is.gd/msLCsh
Before Memoization
Memoization
tail-recursion with invariants
tail-recursion with invariants
tail-recursion with invariants
http://elixir-lang.org/
http://about.me/manuel.vidaurre
More Decks by Manuel Vidaurre
See All by Manuel Vidaurre
Startup Weekend Moms and Youth Families 2016 - Ciudad del Carmen
mvidaurre
0
140
StartUP Weekend Canvas - Business Model
mvidaurre
0
360
Techstars - Pitching: FORMA + FONDO + HISTORIA
mvidaurre
0
270
Startup Weekend Canvas - Research: Market Analysis and Customers Interviews
mvidaurre
1
210
StartUP Weekend Canvas - Validation and MVPs
mvidaurre
0
180
StartUP Weekend Canvas (1) (Hipótesis , Investigación y validación)
mvidaurre
0
380
StartUP Weekend Canvas (validación Y Producto Mínimo Viable)
mvidaurre
0
300
MVP Startup Weekend World 2015
mvidaurre
0
160
Intel Day: Lessons Learned in ecommerce implementations using Ruby
mvidaurre
0
150
Other Decks in Programming
See All in Programming
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
330
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
280
Distance field of Julia set
kinakomoti321
0
330
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
520
エージェントの管理もエージェントに – herdr-core と自作バックログで作る司令塔 –
nearme_tech
PRO
2
150
小さなアプリを作って公開するまで
onozaty
0
260
Promiseの向こう側へコンテキストを届ける ― proposal-async-context
seriseri
0
290
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
490
Kiro Crewによる開発体験ーKiro CrewでStrands Decider 2B に関する技術検証をやってみた
satoshi256kbyte
1
190
はじめてのKubernetesコントリビューション
nasa9084
0
330
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
180
Apache Airflow Introduction
leew
1
100
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
320
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
320
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
580
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.7k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k