Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
This pattern is the reason why the Internet is full of screenshots of those "Error: success" dialogs.
Exceptions vs Error Codes
Posted Mar 30, 2012 15:51 UTC (Fri) by khim (subscriber, #9252)
True. But think about it: just why all these pictures are copied from one resource to another? Because they are rare and thus funny.
On the other hand uncaught exception dumped on the unsuspected user are so common nobody ever tries to ridicule them: it's not funny, it's just sad.
IMNSHO this shows that usually exceptions are not needed and dangerous (just like usually full GC is unneeded and problematic), but some help is welcome. Multiple return values in Go looks like goo 99% compromise. Just as scoped_ptr plus occasional shared_ptr are good compromise WRT GC - to bad Go advocates full GC...
Posted Mar 30, 2012 18:26 UTC (Fri) by dgm (subscriber, #49227)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds