Di bagian When to Use Exception dalam The Pragmatic Programmer , buku ini menulis bahwa alih-alih: retcode = OK; if (socket.read(name) != OK) { retcode = BAD_READ; } else { processName(name); if (socket.read(address) != OK) { retcode = BAD_READ; } else { processAddress(address); if...