DMD 0.148 - scope guard

Lionello Lunesu lio at remove.lunesu.com
Mon Feb 27 05:10:41 PST 2006


> How about
> on_scope_exit -> scope exit
> on_scope_success -> scope success
> on_scope_failure -> scope failure
> ?
>
> on_prefixed_underscore_separated_keywords just look obtrusive in D code.

I don't like the _ either (mostly because D doesn't have any other _s in the 
language, I know of), but I think reserving "exit", "failure" and "success" 
would be even worse. I'd rather have the _s.

L. 





More information about the Digitalmars-d mailing list