Walter: Before you go and implement the new RAII syntax..
Walter Bright
newshound at digitalmars.com
Wed Sep 6 21:07:15 PDT 2006
Derek Parnell wrote:
> BTW, I'm not wedded to 'local' but something, ... anything, that explicitly
> informs the reader that the object will be destroyed when it goes out of
> scope is needed. Leaving it out is not a good user interface.
Why? It's implicit in C style programming languages that things
disappear when they go out of scope. It's the original meaning of 'auto'
in C and C++, it's also the default behavior.
More information about the Digitalmars-d
mailing list