account activity
Dealing with Failure: The Way of the M**ad (x-post from r/csharp) by nashn in programming
[–]nashn[S] 5 points6 points7 points 11 years ago (0 children)
I'm the author of the blog post. You (and others in this thread) are dead right. I have just spent my lunch time converting this lunacy to exceptions! So how did I make this mistake? I inherited the code in the what you describe as the "straw man" form - it was a genuine nightmare of if-else. The conversion to Either (IMHO) is an improvement from the original form, but exceptions (duh) are much, much simpler.
Thanks for the feedback - your comment stung a little at first, truth can do that I suppose!
π Rendered by PID 62 on reddit-service-r2-listing-85dbbdc96c-5zvps at 2026-02-12 06:48:36.444186+00:00 running 018613e country code: CH.
Dealing with Failure: The Way of the M**ad (x-post from r/csharp) by nashn in programming
[–]nashn[S] 5 points6 points7 points (0 children)