2 ms·
If someone reserves a hotel room it makes sense to reserver any room if the desired selection is not valid. Of course you should notify the user of the error bu
by account42 2y ago
If someone reserves a hotel room it makes sense to reserver any room if the desired selection is not valid. Of course you should notify the user of the error but preventing the process from continuing is often unhelpful.
Similarly when converting a file you often should not abort the operation just because there is some minor detail in the original that you can't parse. The user is generally not in a position where they can do anything about such an error but they can often fix up the partially correct result.
Of course you shouldn't do the fallback silently and at least notify the user that there was a problem.