Header Image


Huxy

Year:

Wanting to explore the popular Result programming paradigm—made especially well-known at the time by various programming YouTubers and the Rust language—I wrote a small library that enables this pattern in C# without discarding exceptions.

The first iteration was a quick “vibecoded” proof of concept that, while functional, lacked many niceties and was more of a hassle than a help. It also included a custom Error type that I ultimately never used.

What followed was a complete rewrite, this time with exceptions in mind while preserving the ability to return Result objects from functions and check them easily. I’ve since used the library in several projects, most notably in my Git versioning CLI Chono. I’ve been quite happy with the outcome and consider it a successful experiment.

  • #Library
  • #C#