Handling errors as return values



main()
   ......
            result = do_something(filename)
            if result:
                do_something_else(result)


main()
   ......
            result = do_something(filename)
            do_something_else(result)