I saw what you did there! Scott Wlaschin lectures are the best. Glad to see more and more people taking a look at functional programming (and Scott Wlaschin lectures too),
Thanks! Amazing talk! I have spent 3+ months in haskel since then I wanted to bring concept of Maybe so hard in typescript projects. (it's named Option in this talk) But even this simple concept is so hard for junior/midle enginers, they get confused so much :D
Interesting talk: 14:30 at first glance I don't like that at all. I would love to see a counter example of why that approach would be desirable in a codebase.
Generally you will have helper functions for optionals, but seeing that you don't like that example, you won't like them either. For example: user.each(u => somecode(u)) will apply somecode to the value if the user optional is Some. The inconvience there is you need to create a new variable name, or shadow the existing one.
I saw what you did there! Scott Wlaschin lectures are the best. Glad to see more and more people taking a look at functional programming (and Scott Wlaschin lectures too),
These are very nice pieces of knowledge and advice. Thank you
Really great talk, the Immutable type is really nice to use.
Thanks! Amazing talk!
I have spent 3+ months in haskel since then I wanted to bring concept of Maybe so hard in typescript projects. (it's named Option in this talk)
But even this simple concept is so hard for junior/midle enginers, they get confused so much :D
I like that guy. Very nice delivery
Quick and very informative talk!
Great talk!
Nice talk Thiago!
Interesting talk: 14:30 at first glance I don't like that at all. I would love to see a counter example of why that approach would be desirable in a codebase.
Generally you will have helper functions for optionals, but seeing that you don't like that example, you won't like them either. For example: user.each(u => somecode(u)) will apply somecode to the value if the user optional is Some. The inconvience there is you need to create a new variable name, or shadow the existing one.
looks like Rust :p
It's basically Maybe monad from haskell
en.wikibooks.org/wiki/Haskell/Understanding_monads/Maybe