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

Why is this downvoted? Because it violates Postel's law, one of the cornerstones of the technology running the internet:

"Be conservative in what you do, be liberal in what you accept from others"



> be liberal in what you accept from others

This is a recipe for disaster and code bloat. I met in the past a vulnerability that some irc clients had due to that principle.


It depends. There are plenty of harmless examples like removing leading/trailing whitespace when entering a name. Ignoring whitespace, dashes etc. when entering a code, etc.

A bit of extra effort by the developers saves a lot of people a lot of time.




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

Search: