关于[Stop throwing Exceptions! Start being Explicit]的摘要:
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. C# is dishonest when it comes to looking at method signatures.
原文地址: https://codeopinion.com/stop-throwing-exceptions-start-being-explicit/