<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Error-Handling on Matt Bolitho</title><link>https://mattbolitho.github.io/tags/error-handling/</link><description>Recent content in Error-Handling on Matt Bolitho</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><copyright>Matt Bolitho</copyright><lastBuildDate>Mon, 13 May 2024 20:00:00 +0000</lastBuildDate><atom:link href="https://mattbolitho.github.io/tags/error-handling/index.xml" rel="self" type="application/rss+xml"/><item><title>A Result type for C#</title><link>https://mattbolitho.github.io/posts/a-result-type-for-csharp/</link><pubDate>Mon, 13 May 2024 20:00:00 +0000</pubDate><guid>https://mattbolitho.github.io/posts/a-result-type-for-csharp/</guid><description>I was recently thinking about optional/result types and how C# doesn&amp;rsquo;t have them natively. I thought I would have a go at implementing a result type myself as a challenge, because I hadn&amp;rsquo;t written any C# for a while. I chose result types specifically because C# has T? for optional types (which aren&amp;rsquo;t perfect) and there are already good functional type libraries out there with optional type implementations.
The end result was at least a little interesting, so I thought I&amp;rsquo;d write a quick post about it!</description></item></channel></rss>