17 ms·
> , be liberal in what you accept While some people are fine with garbage in / garbage out some of us prefer to filter out the garbage before we have to spend
by josefx 5y ago
> , be liberal in what you accept
While some people are fine with garbage in / garbage out some of us prefer to filter out the garbage before we have to spend days debugging why something doesn't work as it should.
- horsawlarway 5y agoOne man's garbage is another man's treasure. If you don't like how the current parsers work, feel free to go write your own, because frankly "doesn't work as it should" is presumptuous bullshit. They work exactly as their current authors like, if that happens to not be correct for you... either put up or shut up.
- josefx 5y ago1) I wasn't trying to imply that the parsers themselves aren't working but that you might have to debug programs using these parsers more often as its not apparent that the issue lies in the input instead of the program having to handle it. 2) Pretentious would be if I liked the color blue and then claimed that "walls should be blue" is a robustness principle.