Stop throwing Exceptions! Start being Explicit

added by DotNetKicks
7/22/2020 11:39:18 PM

706 Views

If you're writing a library for other developers to consume on NuGet or if you're creating an API within your own project, stop throwing exceptions and start being explicit. Exceptions are like landmines. Consuming callers have absolutely no idea what exceptions you might throw or how/when/why they will step on one.


0 comments