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

What's the alternative? What would you expect happens?


Panic so that the invalid value doesn't get stored into the database or somewhere else. The developer then would notice the problem and fix it.

Silently using invalid value is the worst choice.


Pardon my ignorance, but what does "panic" mean, specifically?




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

Search: