Johnatan56
Honorary Master
That picture is great in dark mode, only saw the text after quoting it.I have a general dislike for exception handling in languages like C#, Java, ...
View attachment 771178
...re documentation of exceptions is optional and the need to deal with an exception is optional... i.e. its design doesn't steer good practice, hence many get it wrong.
But yeah, being forced to define what will fail can be is good, but can be annoying if working on generic stuff (I'm assuming you're referring to F# way as this is C# discussion), or I like golang's approach where it's a separate value with 3 levels (defer, panic, recover).