Hacker News new | ask | show | jobs
by jacob019 3129 days ago
Agreed. I like to test the validity of a function's input and throw an exception if it fails. It catches most regressions with a nice error message.