Hacker News new | past | comments | ask | show | jobs | submit login

But instead you are randomly changing information, which is a terrible idea.

If you get invalid input, you have to reject it, not just silently make it fit by changing the input (the only exception is when you can be sure that changing the data will not under any circumstances change its meaning).




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

Search: