Thread:User talk:Nx/Borked links/reply (20)

What's wrong with using an exception?

Python uses exceptions for error handling, and I think it's a more elegant way than having to check the return value against some arbitrary value that's defined as error and may be -1, 0, Null etc. depending on what the function is.