DMD 0.166 release
Ivan Senji
ivan.senji_REMOVE_ at _THIS__gmail.com
Sun Sep 3 01:08:35 PDT 2006
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.
More information about the Digitalmars-d-announce
mailing list