Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think the rule of thumb here is to avoid every kind of runtime check that can be checked at compile time.

But if you have a function that works with different types you should make it more reusable.

It’s a good marker to yourself or to a review agent



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: