Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
89
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
54
How do we create the first impressions?
cheesecakelabs
0
60
Menstrual cup: suit and freedom
cheesecakelabs
0
78
Life is a cycle, better with a bicycle
cheesecakelabs
0
63
Interview Process: how to get the best of people
cheesecakelabs
1
94
My capsule wardrobe experience
cheesecakelabs
3
69
Stonewall Rebellion and its impact on LGBTQIA+ history
cheesecakelabs
1
46
Pregnancy, childbirth and breastfeeding: What do I have to do with it?
cheesecakelabs
0
49
MBTI - Psychological types described by Jung
cheesecakelabs
0
140
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Building Adaptive Systems
keathley
44
2.9k
Raft: Consensus for Rubyists
vanstee
141
7.2k
Designing for humans not robots
tammielis
254
26k
Bash Introduction
62gerente
615
210k
Code Review Best Practice
trishagee
74
19k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Writing Fast Ruby
sferik
630
62k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
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!