4 ms·
You don’t return readable errors from backend to user? You don’t wait for requests to confirm before assuming they do?
by whiterknight 2y ago
You don’t return readable errors from backend to user? You don’t wait for requests to confirm before assuming they do?
- ongy 2y agoFor something like input field validation, a request per keystroke might be a bit much, but the update rate of feedback users expect. In systems with frontend UX validation and backend functional validation, errors from the backend tend to be aimed at devs. I.e. might expose the reflex that's known good over having nice words for the approximate test done in the frontend.
- tgv 2y agoThen the code duplication problem moves to the back-end. And it's not the best place for readable error messages.