Is FP Really That Easy to Reason About? (For Beginners)
DevInsideYou
FP is often described as "easy to reason about", because allegedly we "just" need to tell the computer "what" to do as opposed to "how" to do it. This beginner-friendly video discusses "why" or at least "if" that is really the case. This video also points out why pattern matching is considered harmful.
Table of Contents 00:00 Intro 03:38 Code Overview 04:09 Types 04:34 Dependencies 06:03 IO 06:57 Maybe (Option) 07:43 Service 12:14 FP is Easier to Reason About 19:00 What does map do? 22:28 Conclusion
The code is here: https://github.com/devinsideyou/yfp
Website: https://devinsideyou.com
Patreon: https://patreon.devinsideyou.com Discord: https://discord.devinsideyou.com Telegram: https://telegram.devinsideyou.com Twitter: https://twitter.devinsideyou.com GitHub: https://github.devinsideyou.com LBRY: https://lbry.devinsideyou.com
Install scripts: https://install.devinsideyou.com Giter8 templates: https://g8.devinsideyou.com
Spotify concentration playlist: https://code.radio.devinsideyou.com
Cheers and Happy Coding!
#Scala #FP #PatternMatching ... https://www.youtube.com/watch?v=DeEGitiMlJQ
137163379 Bytes