Negative

Andrew Fedoniouk news at terrainformatica.com
Tue Feb 28 00:11:08 PST 2006


"Regan Heath" <regan at netwin.co.nz> wrote in message 
news:ops5n25std23k2f5 at nrage.netwin.co.nz...
> On Mon, 27 Feb 2006 19:54:23 -0800, Andrew Fedoniouk 
> <news at terrainformatica.com> wrote:
>> Seems like I realy don't understand something here...
>>
>> Why you think that your example is aesthetically
>> better (technically they are the same) than this?
>
> Wait, your example below is not technically the same as mine because:
>
> 1. My example (actually taken from the docs on digitalmars.com) used 
> on_scope_failure, not on_scope_exit. on_scope_exit has the same effect as 
> "finally" except...
>
> 2. The important feature of all of these statements is that they allow you 
> to add items to the list of things to do _as you go_ and to then execute 
> them in reverse lexical order at the appropriate time i.e. on_scope_exit 
> or on_scope_failure etc.

BTW:
  Walter is using "reverse lexical order" incorectly in the doc I beleive.
  "lexical order" is something from different opera.


Andrew 





More information about the Digitalmars-d mailing list