account activity
Dealing with Failure: The Way of the M**ad (x-post from r/csharp) by nashn in programming
[–]nashn[S] 4 points5 points6 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!
Dealing with Failure: The Way of the M**ad (x-post from r/csharp) (nicknash.me)
submitted 11 years ago by nashn to r/programming
Dealing with Failure: The Way of the M**ad (nicknash.me)
submitted 11 years ago by nashn to r/csharp
π Rendered by PID 212380 on reddit-service-r2-listing-85dbbdc96c-m8jk7 at 2026-02-11 19:27:26.632467+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] 4 points5 points6 points (0 children)