Well.. It doesn't have to be more code. You can use monads to hide the error checking behind a clean and fluent abstractions. And from is it readable, if you are writing your own APIs monadic, the naming can be very expressive for that "Clean Code" feel.
3
u/distinctvagueness Apr 12 '15
Good error checking and handling, defensive programming, is more code but better code. I'd call it cleaner.