Why Elixir?
I gained exposure to Elixir early in my career but never got a chance to get into code. I'm here to see what the hype is all about.
A niche language that seems to be gaining traction for 'mission-critical' software operations. Elixir traces its roots back through Erlang and the emergence of telecommunications technologies in the 80s and 90s. Elixir is built to support robust, concurrent and distributed software. You can use frameworks like Phoenix to help you build web apps. It is commonly used in sectors such as banking, ecommerce, IoT and instant messaging.
Install Elixir on Windows
Run PowerShell as administrator and install with chocolately: choco install elixir
https://chocolatey.org/packages/Elixir
Running iex
Ok, so iex
is already an alias in PowerShell.
Use iex.bat
instead — sorted.
https://ppolyzos.com/2017/02/10/running-elixirs-interactive-shell-iex-in-powershell/
Hello, World.
C:\Users\Thomas\git\teaching-myself-elixir [master +2 ~0 -0 !]> iex.bat
Interactive Elixir (1.10.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> c("hello-world.ex")
[HelloWorld]
iex(2)> HelloWorld.print
Hello, World.
:ok
iex(3)>
Resources
- Alchemist Camp - Learn Elixir by Building Things - https://alchemist.camp/start#beginner — the best free intro to Elixir I've found so far
- learn-elixir-in-one-video - https://www.youtube.com/watch?v=pBNOavRoNL0
- a-chat-room-in-8-minutes-with-phoenix - https://www.youtube.com/watch?v=ZUNzXbIP_FQ
create a blog in phoenix - https://www.monterail.com/blog/elixir-phoenix-framework-tutorial
https://serokell.io/blog/learn-elixir - collection of Elixir learning resources
https://elixir-examples.github.io/
Elixir Wizards Podcast - https://player.fm/series/elixir-wizards
Elixir Mix Podcast - https://player.fm/series/elixir-mix - better of the two IMO
https://elixircasts.io/ - The site requires a subscription, but you can find a lot of free lessons (like the chat room tutorial) on their YT channel - https://www.youtube.com/channel/UCEJIWmO9DIE83i6_qmJXqjQ/videos