DMD 0.166 release

Rioshin an'Harthen rharth75 at hotmail.com
Sun Sep 3 01:24:47 PDT 2006


"Ivan Senji" <ivan.senji_REMOVE_ at _THIS__gmail.com> wrote:
> Derek Parnell wrote:
>> Why is it so hard to make my thoughts known to you? I did *not* talk 
>> about "Setting the behavior at both the points". *THE*
>> behavior is set at the declaration just as it is now. A new *AND 
>> OPTIONAL*
>> behavior can be set at point of use. This new behavior of the compiler
>> would be such that if no parameter storage class is used for a parameter
>> then the compiler does nothing new (the default case). If the coder 
>> chooses
>> to include an 'in', 'inout', 'out' or 'lazy' at the point of use then the
>> compiler could ensure that the coder's belief in how the declararion
>> signature is can be tested by the compiler and alert the coder to any
>> mismatch.
>
> This is a feature I would certainly be using. It can't do any harm but can 
> have extremely positive effects.

I'll chime in with a resounding "me, too". Having in, out, inout or lazy 
marked at the place of calling would help returning to the same code later. 





More information about the Digitalmars-d-announce mailing list