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
72
Stonewall Rebellion and its impact on LGBTQIA+ history
cheesecakelabs
1
50
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
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
64
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
130
Marketing to machines
jonoalderson
1
4.5k
Building an army of robots
kneath
306
46k
Building the Perfect Custom Keyboard
takai
2
670
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
220
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
140
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
880
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!