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
Seven Languages in Seven Weeks
Search
Cheesecake Labs
February 19, 2018
0
82
Seven Languages in Seven Weeks
Cheesecake Labs
February 19, 2018
Tweet
Share
More Decks by Cheesecake Labs
See All by Cheesecake Labs
Cats' wellness & care
cheesecakelabs
0
45
How do we create the first impressions?
cheesecakelabs
0
47
Menstrual cup: suit and freedom
cheesecakelabs
0
48
Life is a cycle, better with a bicycle
cheesecakelabs
0
44
Interview Process: how to get the best of people
cheesecakelabs
1
70
My capsule wardrobe experience
cheesecakelabs
3
49
Stonewall Rebellion and its impact on LGBTQIA+ history
cheesecakelabs
1
32
Pregnancy, childbirth and breastfeeding: What do I have to do with it?
cheesecakelabs
0
41
MBTI - Psychological types described by Jung
cheesecakelabs
0
110
Featured
See All Featured
A designer walks into a library…
pauljervisheath
204
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Why Our Code Smells
bkeepers
PRO
334
57k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Ruby is Unlike a Banana
tanoku
97
11k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
GitHub's CSS Performance
jonrohan
1030
460k
Transcript
Seven languages in seven weeks Part I Frank Kair
• Motivation Agenda
• Motivation • Erlang Agenda
• Motivation • Erlang ◦ Pattern Matching Agenda
• Motivation • Erlang ◦ Pattern Matching ◦ Guard Agenda
• Motivation • Erlang ◦ Pattern Matching ◦ Guard ◦
Recursion Agenda
• Motivation • Erlang ◦ Pattern Matching ◦ Guard ◦
Recursion • Elixir Agenda
• Motivation • Erlang ◦ Pattern Matching ◦ Guard ◦
Recursion • Elixir ◦ Pipes Agenda
Agenda • Motivation • Erlang ◦ Pattern Matching ◦ Guard
◦ Recursion • Elixir ◦ Pipes ◦ Laziness
Motivation
Motivation
• Ruby • Io • Prolog • Scala • Erlang
• Clojure • Haskell Motivation
Erlang
Erlang
Erlang
Erlang
Pattern Matching
Fibonacci Sequence
Fibonacci Sequence
Erlang -> Pattern Matching
Erlang -> Pattern Matching Every file is a module
Erlang -> Pattern Matching Public function and its arity
Erlang -> Pattern Matching
Erlang -> Pattern Matching
Erlang -> Pattern Matching
Guard
Factorial
Factorial
Erlang -> Guard
Erlang -> Guard
Erlang -> Guard
Recursion
Erlang -> Recursion
Erlang -> Recursion
Erlang -> Recursion
Erlang -> Recursion
Erlang -> Recursion
Erlang -> Recursion Head and Tail
Erlang -> Recursion
Elixir
Elixir
Pipes
Elixir -> Pipes
Elixir -> Pipes Project Euler (https://projecteuler.net/problem=1)
Elixir -> Pipes
Elixir -> Pipes Every file is a module, just like
Erlang
Elixir -> Pipes
Elixir -> Pipes
Elixir -> Pipes
Elixir -> Pipes
Elixir -> Pipes
Elixir -> Pipes
Elixir -> Pipes
Elixir -> Pipes
Laziness
Elixir -> Laziness
Elixir -> Laziness
No while loop
Elixir -> Laziness
Elixir -> Laziness
Elixir -> Laziness
Elixir -> Laziness
Elixir -> Laziness Initial value
Elixir -> Laziness Function to change values
Elixir -> Laziness
Elixir -> Laziness {value, how value will change}
Elixir -> Laziness
Elixir -> Laziness
Elixir -> Laziness
Elixir -> Laziness
Elixir -> Laziness
Elixir -> Laziness
Elixir -> Laziness
Elixir -> Laziness
Sneak peek
• Clojure Sneak peek
• Clojure • Crystal Sneak peek
• Clojure • Crystal • Ruby Sneak peek
• Clojure • Crystal • Ruby • Rust Sneak peek
• Clojure • Crystal • Ruby • Rust • Swift
Sneak peek
Thank you!