|
|
|
|
|
by codetrotter
785 days ago
|
|
The difference is providing a short succinct message that is either familiar or can be looked up as rg does here, vs vaguely saying invalid name without saying why. It worsens the UX for no reason. As a sibling comment said, the program already knows why the name was invalid. It would have cost nothing to surface the reason when reporting the error. |
|