The first 500 people to use my link skl.sh/isaacharrisholt12241 will get a 1 month free trial of Skillshare! Yes, I know I'm overexposed. New camera, working on it!
is that what people feel when i tell them that lifetimes in rust are good actually ._. i don't really get why would you sacrifice both performance and understandability and simplicity (except when you are walking through a branching structure) for purity
You're not sacrificing performance though. As I said, tail call optimised recursive functions get compiled down to tight loops, so they perform exactly the same.
Gleam is actually a lot simpler than an object oriented language! There's a lot less to learn and a lot less going on. It's merely a matter of what you're used to
Gleam doesn't support currying or partial application (at least, not in a generalised way). Higher order functions are a big part of any functional language, but I'm not sure how much of a video I could do on them 😅
@@IsaacHarrisHoltI would find it super valuable if you did a video reviewing gleam code and showing how it could be simplified using the standard library. plenty of higher order functions there
@@IsaacHarrisHolt Whatever you call it, the quick "let add_one = add(1, _)" type of function is a lovely way of doing what I think of when I think of partials
The first 500 people to use my link skl.sh/isaacharrisholt12241 will get a 1 month free trial of Skillshare!
Yes, I know I'm overexposed. New camera, working on it!
Angelic
when an app opens in light mode
😂
Thank you, Awesome video!
Glad you found it useful!
Just on my phone (pixel 6a) but the white balance seems quite white imo at 0:29
It 100% is way too exposed 😅
Awesome video, I'd like to request a video on decoding nested json in gleam using the zero api
Definitely got a JSON video planned!
is that what people feel when i tell them that lifetimes in rust are good actually ._. i don't really get why would you sacrifice both performance and understandability and simplicity (except when you are walking through a branching structure) for purity
You're not sacrificing performance though. As I said, tail call optimised recursive functions get compiled down to tight loops, so they perform exactly the same.
I’m still trying to understand why such functional language is something needed ? To me it seem a bit complicated
Gleam is actually a lot simpler than an object oriented language! There's a lot less to learn and a lot less going on. It's merely a matter of what you're used to
Goodbye for loop hello out of memory xD
Someone didn't watch all the way to the end before commenting 👀
next: higher order function, currying, folding, and partial application
Gleam doesn't support currying or partial application (at least, not in a generalised way). Higher order functions are a big part of any functional language, but I'm not sure how much of a video I could do on them 😅
@@IsaacHarrisHoltI would find it super valuable if you did a video reviewing gleam code and showing how it could be simplified using the standard library. plenty of higher order functions there
@@IsaacHarrisHolt Whatever you call it, the quick "let add_one = add(1, _)" type of function is a lovely way of doing what I think of when I think of partials