bookmark

Ned Batchelder: Exceptions vs. status returns


Description

Broadly speaking, there are two ways to handle errors as they pass from layer to layer in software: throwing exceptions and returning status codes. Almost everyone agrees that exceptions are the better way to do it, but some people still prefer status returns. This article shows why exceptions are better.

Preview

Tags

Users

  • @cschenk

Comments and Reviews