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

I'd say it's the backend's job to accept any of those and reformat accordingly. If you rely on the frontend the backend would still have to validate it anyway.



Yup. If you’re going to do validation on the frontend, it should be for the sole purpose of improving user experience, not for making life worse!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: