Konubinix' opinionated web of thoughts

Monadic Error Handling in Python ⚠ Write Better Python Code Part 7B - YouTube


  • External reference:

see ArjanCodes,

He describes the pattern of returning a result AND and error and explicitely checking for the error, like in rust or golang go.

It is also called Railroads Oriented Programming.

Later, in https://youtu.be/Q0aVbqim5pE, he tries to define more clearly what monads theoretically are, but to me, it was confused. For instance, he never define what the mathematical notion of category is.