Hacker News new | ask | show | jobs
by masklinn 5532 days ago
> Actually you don't want to ever use exception driven development. The use of the as operator is a simple metadata check. Throwing exceptions in .Net is expensive.

it doesn't matter, it's throwing an exception when the caller code is broken. That's ok, it's an error.