4 ms·
For real. How difficult would it be to have the computer tell us what the error code means instead of a single sentence. I get codes back in the day when stora
by BizarroLand 5y ago
For real. How difficult would it be to have the computer tell us what the error code means instead of a single sentence.
I get codes back in the day when storage for a whole book was costly, but that isn't the case anymore. Just tell us the error, show us the pointers, and then tell us what typical fixes are instead of expecting us to go to the internet for a solution.
- blacksmith_tb 5y agoMy take is that cryptic error messages have always been a cross between 'protecting company secrets' and 'never really admit to a mistake'. Sure, MS or Apple could just throw up a dialog that said "Sorry, we trashed the file you were working on, here are the last 1024 chars" but people would actually be more angry then, instead of just "Error 1234 occurred" (or at least they'd have to go look it up to be mad). As developers, we also have to be used to a lot of completely unhelpful errors. Yeah, couldn't connect to the DB, sure... oh, but actually because my code ate all of memory, why didn't you say that in the first place?
- Plasmoid 5y agoI suspect it grew out of electrical engineering. Machines/parts could only return errors as integers, so you would expect people to open up the documents and read that error code 1021 meant that the unit had caught fire. Software just kept the tradition of error codes, since that meant you could also sell that juicy documentation (localized into whatever language you wanted) to the user as well. I suspect it also a localization issue because OracleDB would never return the table/column in the error message, so as to be easier to translate.
- loopz 5y agoWhy would a user-friendly system need error messages in the first place? The modal dialog breaks UX spectacularly. Even logs should have messages that actually are intuitive to follow.
- callesgg 5y agoFrom my mentioned example one reason was cause the user loaded a csv file with incompatible data. Or cause the user had filled in part two of a task but not part one and then tried to continue with parts of the task that where dependent on filling in part one. Or the user tried to synchronize orders from the erp system but the erp system would not return any orders.
- loopz 5y agoStill there are better and worse ways to identify and present failure. A modal often being worse for instance.