Yoda Exception Handling

"Do or do not. There is no try."

 Try
     'Do something
 Catch ex as Exception
 End Try


I think Yoda exception handling would look more like:

  atomically $ doSomething
               `orElse` (return ())

There is no partial success. There is no 'try', and no 'retry'. YouDontWantAnExceptionYouWantaTransaction.


CategoryException


EditText of this page (last edited October 2, 2010) or FindPage with title or text search