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
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
55
How do we create the first impressions?
cheesecakelabs
0
64
Menstrual cup: suit and freedom
cheesecakelabs
0
80
Life is a cycle, better with a bicycle
cheesecakelabs
0
65
Interview Process: how to get the best of people
cheesecakelabs
1
95
My capsule wardrobe experience
cheesecakelabs
3
75
Stonewall Rebellion and its impact on LGBTQIA+ history
cheesecakelabs
1
52
Pregnancy, childbirth and breastfeeding: What do I have to do with it?
cheesecakelabs
0
52
MBTI - Psychological types described by Jung
cheesecakelabs
0
140
Featured
See All Featured
[SF Ruby Conf 2025] Rails X
palkan
0
740
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2k
Code Reviewing Like a Champion
maltzj
527
40k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
89
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
400
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
71
The Language of Interfaces
destraynor
162
26k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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!