Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Exception Handling

Name: Anonymous 2012-10-29 19:40

Don't fucking use exception handling.
Do or do not; there is no try. ESPECIALLY IN COMPUTING.

Handle your errors with error return codes.
No matter what these namby-pamby high-level languages try to pretend, it is an immutable fact that you cannot unring a bell. And these built-in routines can often cause more harm than good. Exception handling needs to be stigmatized more than goto; at least goto can make sense from a low-level perspective.

Name: Anonymous 2012-10-29 19:49

You should try using Go. It has wonderful multiple value returns that enable you to return error variables next to whatever it's supposed to return on success. It's wonderful!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List