[Advanced] On error handling in Functional Programming

Ғылым және технология

Learn more about happy path programming and make FP click by joining "How to think like a functional programmer" - impurepics.thinkific.com/cour...
In this lesson, we talk about errors, where to find them, what works and what not, and then we'll review two techniques I've been using recently (and don't hate yet).
#fp #functionalprogramming #haskell #rust #scala
Subscribe to Impure Pics: bit.ly/impure-youtube
More Impure Pics
🐣 / impurepics
📦 impurepics.com
👕 merch.impurepics.com
Functional Alphabet book
📗 Softcover: bit.ly/fp-abc-soft-cover
📘 Hardcover: bit.ly/fp-abc-hard-cover
Watch more Impure Pics
• Debunking Haskell Myth...
About Impure Pics
FP Advocat. Distilling functional programming for the good of all
Get in touch: zelenya.com
0:00 Intro
0:23 On errors
3:02 Error purpose
5:18 On error communication and ergonomics
9:39 Two examples
9:49 Approach 1. Exceptions for exceptional behavior
10:38 Approach 2. There and back again
14:39 Take-aways

Пікірлер: 5

  • @impurepics
    @impurepics4 ай бұрын

    If you don't like the video, check out this topic in writing dev.to/zelenya/advanced-error-handling-l1m If you do like the video, check out the whole course impurepics.thinkific.com/courses/functional-thinking

  • @AlekseiPirogov
    @AlekseiPirogov4 ай бұрын

    Thank you for the video! I have just one note: maybe it is a problem of my browser (Safari) but I saw a couple of sudden palette changes during the video. I think that such fast color changes may affect some people and it will be nice to replace that particular effect (if it was intentional) with something less "blinking".

  • @impurepics

    @impurepics

    4 ай бұрын

    Noted, thank you, will work on that

  • @JanilGarciaJr
    @JanilGarciaJr4 ай бұрын

    I love how the code examples were slowly transitioning to Scala lol Man, I want buy your course so bad. When I free up some money, maybe, or I try to convince the company to buy for everyone :P Error handling is slowly becoming a problem on our project (specially on the API/GraphQL side) and this video certainly give me some ideas.

  • @impurepics

    @impurepics

    4 ай бұрын

    Great, happy to hear that! The part where you say that it gave you ideas (and the part where you use the company budget for the course :)

Келесі