Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 3
    I'd argue that it is just as likely that a developer forgets to put .IsValid() after creating the object as them forgetting to put a try/catch. "The developer might forget" excuse is a bad one to begin with. And it might be easier to spot a missing try/catch in code reviews. Or to create a code analyzer to check for. Commented Apr 22, 2024 at 12:38
  • @TheEvilMetal agreed, added a paragraph that I hope make that point. Commented Apr 22, 2024 at 13:44