Elixir for Beginners

A beginners guide to the Elixir language, tools and functional concepts
4.3 (210 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
2,143 students enrolled
$19
$50
62% off
Take This Course
  • Lectures 28
  • Length 2.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 2/2016 English

Course Description

Do you want web sites that can easily scale to millions of users?
Or build a system to reliably handle the coming Internet of Things (IoT) future?

Perhaps you just want to learn a programming language, which will teach you the techniques for building concurrent, functional, and fault-tolerant software.

Elixir is one of the fastest growing programming languages, for all of these reasons.

Created by José Valim, one of the Ruby on Rails core team members, Elixir is built on the tried and tested Erlang Beam (Virtual Machine). With cherry picked features from other modern languages such as Clojure, Ruby and Python, etc. it's a joy to use, and makes functional programming much more accessible.

Erlang was built from the ground up, to get distributed, and fault-tolerant computing "right". Elixir inherits these qualities, and packages it up in a beautiful modern language, with excellent tooling and access to all the existing Erlang libraries.

If you want to understand how Whatsapp, with less than 60 engineers, can send double the text messages of all the Telecoms companies put together, then come and learn Elixir. It'll be fun!

What can you build with Elixir:

* Websites with Phoenix
* Microservices and APIs
* IoT devices, with the Nerves project - write and manage the client and the server
* Use all the cores on your computer
* Build concurrent event driven services, ideal for Robotics, etc.

What is this course about:

  • This is a beginners guide to learning the Elixir programming language. You will learn how to read and write in Elixir code, understand recursion, data immutability, and pattern matching.
  • This course lays the foundation for learning a functional language and gives you confidence with which to build your knowledge.
  • This is a beginners course in learning the basics of the language thus we do NOT go into OTP, Erlang or Macros.


Build a strong foundation in Elixir and functional programming with this tutorial for beginners.

  • What Elixir is and what it is good for
  • Types, functions and tools
  • Functional programming, immutable data, pattern matching and recursion
  • Tools, tests and documenting


A Skill for the Future of Programming
A developer in the future will need to have experience building functional and concurrent software. With the rise of the Internet of Things and greater need for scalable and fault-tolerant systems, developers are going to need experience building software that can cope with these kind of challenges.

Learning the fundamentals of Elixir will give you skills for the future. It's free and easy to learn, with excellent documentation and a thriving friendly community.

Understanding an elegant functional language such as Elixir will greatly improve your programming skills in Object Orientated languages, such as Ruby, Python, Java and C#. It will also serve as a foundation for learning other functional languages.

Elixir is the language of the future, and will equip you with the skills that our future jobs are going to require.


Content and Overview
Suitable for students with programming experience who wish to learn a functional language but don't know where to start. You’ll learn all of the Elixir fundamentals and establish a strong understanding of the concept behind Functional programming.

Starting from set up, this course will walk you through the main language concepts and how they work, right up to building your own Elixir programs, and using some of the main tools.

Students completing the course will have the knowledge and confidence to create functional programs written in Elixir. You will be able to read and write code, and understand when to use the correct data structures.

What am I going to get from this course?

  • Learn Elixir code from your own desk.
  • Suitable for students with programming experience wishing to learn a functional language, and ideal for users who learn faster when shown.
  • Visual training method, offering users increased retention and accelerated learning.
  • Breaks down principles into simple steps.


What are the requirements?

  • You will need to be familiar with an Object Orientated (OO) language e.g. Ruby, Python, JavaScript, Java, C#, etc.
  • You will need to be able follow the Elixir installation guide from the Elixir web site: http://elixir-lang.org/install.html
  • You should be confident in writing code in a text editor, such as Sublime Text, Notepad++, Vim or Emacs
  • Some command line knowledge will be helpful as you will be executing Elixir programs from the command line

What am I going to get from this course?

  • Understand how to read and write Elixir code
  • Understand the key tenets of functional programming, immutable data, pattern matching and recursion
  • Create your own Elixir programs
  • Use the appropriate tools when building Elixir programs
  • Think confidently in Elixir, and have detailed knowledge of the most important language primitives

What is the target audience?

  • This course focuses on beginners in Elixir who want to get knowledge of the language and understand how to program in a functional way
  • The course covers the main language concepts, and how to write code in Elixir, and use some of it's tools e.g. Mix
  • Elixir is an excellent language for building, highly scalable, fault-tolerant and concurrent software systems
  • If you want to build powerful server backends, APIs for your mobile Apps etc, or Internet of Things (IoT) clients and servers, you should consider using Elixir
  • Elixir can be embeded on the RaspberryPi and Beagle Bone, and it's concurrency and event handling make it an excellent choice for robotics
  • This course focuses on programmers with Object Orientated (OO) experience, wishing to learn a functional language
  • Students should have some programming skills, in languages like: Ruby, Python, JavaScript, Java, C#, etc.
  • If you have experience in a functional language and wish to learn the Elixir language
  • This course does NOT go into OTP (Open Telephone Platform), so is not suitable for students wishing to learn OTP
  • The course will NOT go into any details about creating Elixir Macros and Protocols

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Welcome to Elixir
Introduction to Elixir
Preview
05:15
About this course
Preview
04:03
Prerequisites
Preview
01:54
Elixir introduction resources
1 page
Section 2: Introduction to Elixir
Hello World x2
03:13
Introduction to Elixir files
02:46
Interactive Elixir REPL (iex)
06:28
Section 3: Basic types
Basic types: numbers
04:37
Atoms, Booleans and Strings
04:39
Basics of anonymous functions and tuples
06:24
Section 4: Basics of functional thinking
Pattern matching basics
05:46
Pattern matching further concepts
08:04
Immutable Data
05:15
Section 5: Complex types
Lists
07:47
Keyword lists
07:06
Maps
07:15
Section 6: Modules & Functions
Modules
02:20
Named function basics
07:57
Function captures and references
03:30
Section 7: Recursion
Recursion and pattern matching
03:29
Tail call optimisation
03:37
Reduce & Map a recursive example
06:08
Section 8: Processes
Spawning processes, sending/receiving messages and Tasks
05:45
Process ping pong example
13:00
Section 9: Caesar Cipher Project
Mix and project dependencies
05:02
Testing & writing code
10:36
Make a command line executable with: escript
06:37
Configuration, documentation and doctest
07:44

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Ben Emson, Developer, Software Architect and Technologist

Ben Emson had developed software for Startups and large companies a like. For the last three years he was one of the lead technologists for "the Lab" at O2. Where he built cutting edge mobile and web applications.

He is passionate about technology and relishes teaching and developing innovative new products.

Ready to start learning?
Take This Course