Lead Product Evangelist @Kentico, founding partner @CraftBrewingBiz. ❤ the web, mowing my lawn, craft 🍺, he/him, partner of @ourbluerainbow
Jun 2, 2022 • 10 tweets • 5 min read
A Thread 🧵
In this video from @nickchapsas, he recommends _not_ throwing exceptions in #csharp and instead using the "Result" type (a monad 🧐) to model failures.
I've been using this approach for several years now and I can say it _works very well_!
I have multiple blog posts and presentations talking about this topic and the topic of modeling failures/optional data in #csharp. These links are mostly in the context of @KenticoXP, the platform @wiredviews uses to build websites for our clients.