MENU

Fun & Interesting

Don't throw exceptions in C#. Do this instead

Nick Chapsas 271,388 3 years ago
Video Not Working? Fix It Now

Check out my new "Integration testing in ASP .NET Core" course and use code INTESTING1 for 20% off (first 300): https://dometrain.com/course/from-zero-to-hero-integration-testing-in-asp-net-core/ Become a Patreon and get source code access: https://www.patreon.com/nickchapsas Hello everybody I'm Nick and in this video I will show you how you can potentially replace some of your exception throwing in your C# application with a differnent way of handling bad state. It is a concept that is native in other languages like Rust and F#, and it will eventually make its way into C# too but for now, here is the workaround. Give Language Extensions a star on GitHub: https://github.com/louthy/language-ext Don't forget to comment, like and subscribe :) Social Media: Follow me on GitHub: http://bit.ly/ChapsasGitHub Follow me on Twitter: http://bit.ly/ChapsasTwitter Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn Keep coding merch: https://keepcoding.shop #csharp #dotnet

Comment