Back to Browse

Guards in Elixir

2.2K views
Oct 3, 2022
14:40

In this step-by-step Elixir tutorial for beginners, I cover how to use guards to expand the power of pattern matching. Guards begin with the when keyword, followed by a boolean expression, and you can use boolean operators, comparison, and arithmetic operators in guard expressions. Subscribe now, and we'll walk through a hands-on introduction to Elixir. If you want to learn how to code in Elixir, this Elixir tutorial is the perfect introduction! I will teach you the basics of list operations and programming concepts, so you can start building powerful applications in this beautiful language. Start learning with this Elixir programming tutorial today and see how easy it is to get started and learn Elixir! CHALLENGE --------------------------------------------------- 1) Write documentation for all the functions written. 2) Write tests for the EquipmentDetail and SaucerPreflight modules. 3) Write `is_under_max_load?/1` function using guards. If you get stuck or need to check the solution, checkout the Github repo below . ✅✅SOLUTION: https://github.com/jacobluetzow/elixir_basics_solutions SUPPORT BACKEND STUFF --------------------------------------------------- 🎙🎙Check out my podcast: https://www.hiredgunapps.com/podcast 🆘🆘NEED HELP?? Join the Discord Server: https://discord.gg/HcnjPsWATg FOLLOW ME --------------------------------------------------- Instagram: https://www.instagram.com/jacob_luetzow/ Join the Discord server: https://discord.gg/HcnjPsWATg

Download

1 formats

Video Formats

360pmp424.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Guards in Elixir | NatokHD