← Back to context

Comment by bborud

4 years ago

Not obeying the "Robustness Principle" in software is just poor engineering.

https://en.wikipedia.org/wiki/Robustness_principle

Definitely applicable here. There's no way we're going to eliminate all problems with spaces etc, so why invite trouble.

I wouldn't say it's always poor engineering though, especially the 'liberal in what you accept' half.

  • Yes, you have a point there, but in this case would being liberal in what you accept be to accept filenames with spaces or (arguably) doing filename handling correctly (ie accept filenames with spaces)?