DMD 0.148 - scope guard

John Reimer terminal.node at gmail.com
Sun Feb 26 02:04:29 PST 2006


Nick wrote:
> In article <dtri4j$ejs$1 at digitaldaemon.com>, Kyle Furlong says...
>> I thought the same, perhaps the "scope" portion is understood? So that the
>> keywords become: onsuccess, onfailure, ...?
> 
> Personally I think it's better not to overuse simple words and phrases as
> keywords. onsuccess/onSuccess etc. are a bit too likely to be chosen as a
> function name, especially since these are not common keywords in other
> languages.
> 
> Nick
> 
> 


I have to agree with this.  The "scope" prefix, however unsightly, 
serves its purpose here.  Yet I wonder if there is a way to improve upon 
that syntax.

-JJR



More information about the Digitalmars-d mailing list