Elixir's optional syntax

  Рет қаралды 2,986

German Velasco

German Velasco

11 ай бұрын

I always knew that Elixir had some optional syntax, but I didn't realize how prevalent it was!
José Valim shared a new guide on Elixir's optional syntax. And I thought it was really cool! So, I made this video to share an example.
Guide: elixir-lang.org/getting-start...
For more videos like this, check out Elixir Streams
👉 www.elixirstreams.com

Пікірлер: 17
@juliolinarezescobar
@juliolinarezescobar 8 ай бұрын
Now I unterstand Elixir AST. Thanks
@germanvelasco
@germanvelasco 8 ай бұрын
🎉
@tevoj
@tevoj 3 ай бұрын
It is pretty cool.
@derekbarbosa
@derekbarbosa 21 күн бұрын
Just started my elixir journey (my day job is kernel stuff) as I found so many similarities between the BEAM VM and some of the scheduling "internals" in Linux Kernels. I'm a decent way through Dave Thomas' Programming Elixir Book (a very good read). Anyway, 01:35 blew my mind. Your short video just did a massive stack unwind on a lot of the "fundamentals" of basic program structure. Man am I glad the KZbin algorithm brought me here.
@germanvelasco
@germanvelasco 19 күн бұрын
Love to hear it! 🥳
@AdolfoNeto
@AdolfoNeto 8 ай бұрын
Lists everywhere!!!
@aleksd286
@aleksd286 6 ай бұрын
Wow, so much more readable at the end. Thanks
@thehibbi
@thehibbi 6 ай бұрын
Great explanation, thanks for the insight!
@germanvelasco
@germanvelasco 5 ай бұрын
Glad you found it helpful! I can't claim too much credit -- José's explanation in that blog post was phenomenal.
@AJ-rk3hk
@AJ-rk3hk 10 ай бұрын
awesome explanation. so fun. Thanks!
@Jimi2204
@Jimi2204 6 ай бұрын
Great explanation.
@germanvelasco
@germanvelasco 6 ай бұрын
Thanks! Glad you liked it.
@Khari99
@Khari99 2 ай бұрын
Don't know if I love it or hate it lol. If you go overboard, it can look like a ton of nested ternary statements. But for simple functions, this is pretty cool.
@germanvelasco
@germanvelasco Ай бұрын
😅 I don't think it's "optional" in the sense that we should write Elixir code like that. It's just interesting to know that it's syntactic sugar. And it's helpful if you do any metaprogramming.
@samuelleeuwenburg
@samuelleeuwenburg 3 ай бұрын
Lisps all the way down
@jaeyson
@jaeyson 8 ай бұрын
lispy!
@germanvelasco
@germanvelasco 8 ай бұрын
😁
Comparing Elixir dates and datetimes?
1:38
German Velasco
Рет қаралды 600
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 43 МЛН
When someone reclines their seat ✈️
00:21
Adam W
Рет қаралды 21 МЛН
1 класс vs 11 класс (неаккуратность)
01:00
WHY THROW CHIPS IN THE TRASH?🤪
00:18
JULI_PROETO
Рет қаралды 3,6 МЛН
Rust vs 7 Other Languages You Probably Haven't Tried
8:55
Code to the Moon
Рет қаралды 73 М.
From $erverless To Elixir | Prime Reacts
22:34
ThePrimeTime
Рет қаралды 94 М.
Phoenix Components  #shorts #elixirlang
0:53
Andrew Stewart | src_rip
Рет қаралды 414
Erlang ❤️ JSON #elixirlang #erlang
0:49
German Velasco
Рет қаралды 456
Introduction to Spring AI | Spring Ai Framework
9:25
Daily Code Buffer
Рет қаралды 3,9 М.
Securing price protection during the term of your SaaS agreement and beyond is critical.
0:58
Marcus Harris Software Licensing & IP Attorney
Рет қаралды 1
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 11 МЛН
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 8 МЛН
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 602 М.