Hacker News new | ask | show | jobs
by MichaelGG 4835 days ago
The main reason for TryParse, AFAIK, is avoiding the massive expense of exceptions on the CLR.

Another reason is composability. If you're checking several values together, returning a Maybe/Option is much more clear and usable.