Sure it's similar: all continuations are trivially similar. However, to enforce "one exit" rule you'd have to catch all exceptions and somehow rethrow them.
Letter of the "law" is satisfied at the expense of its spirit. This is so sadly frequent consequence of any mechanical approach.
no subject
Date: 2010-03-08 05:32 am (UTC)However, to enforce "one exit" rule you'd have to catch all exceptions and somehow rethrow them.
Letter of the "law" is satisfied at the expense of its spirit.
This is so sadly frequent consequence of any mechanical approach.