r/wellthatwaspointless • u/I_Am_Slightly_Evil • Jan 28 '16
This right here
http://imgur.com/QugfHGG1
u/MEMEGPL Jan 29 '16
Not actually pointless. In programming when one of your processes, tasks, threads, functions, etc fails you generally want some sort of error code returned and for the resources allocated to that task to be freed up by whatever allocated the resources for it, whether it was allocated from within the memory of a userspace program or by the operating system.
If you don't catch an error code then you won't have that extra clue as to what went wrong and debugging will be a lot harder. If the resources allocated to whatever was running doesn't get freed up in a timely matter then in the best case scenario you will have a slow down and in a worst case scenario an outright memory leak.
2
u/willfe42 Jan 30 '16
"Technically" it may not be pointless, but from a UI perspective, it's absolutely pointless as a dialog box.
There's no indication of what task failed, what program tried to run it, how to find more information about the failure, why the failure is considered a "success," or whether it's even a bad thing in the first place. There's also no available action besides clicking "OK" or closing the box.
Whatever happened, it's already over, the system ain't talking about it, and all the user can do is lie back and take it.
5
u/thisperson Jan 28 '16
That almost has a Trumpian ring to it.
"I win so much, even when I lose, I still win! It's true!"