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
87
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
49
How do we create the first impressions?
cheesecakelabs
0
53
Menstrual cup: suit and freedom
cheesecakelabs
0
57
Life is a cycle, better with a bicycle
cheesecakelabs
0
51
Interview Process: how to get the best of people
cheesecakelabs
1
81
My capsule wardrobe experience
cheesecakelabs
3
58
Stonewall Rebellion and its impact on LGBTQIA+ history
cheesecakelabs
1
37
Pregnancy, childbirth and breastfeeding: What do I have to do with it?
cheesecakelabs
0
45
MBTI - Psychological types described by Jung
cheesecakelabs
0
130
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
RailsConf 2023
tenderlove
30
1.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Adopting Sorbet at Scale
ufuk
77
9.4k
The Language of Interfaces
destraynor
158
25k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
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!