To stress the point: if you write single exit code you're essentially guaranteed to write wrong code in the presence of exception. Single exit code should be dropped like the bad habit it literally is.