Dot syntax to access static variables of functions

Walter Bright newshound2 at digitalmars.com
Fri Dec 16 19:11:53 PST 2011


On 12/16/2011 5:37 PM, bearophile wrote:
> Timon Gehr:
>
>> Local variables are not part of the function interface. They are
>> implementation details.
>
> What I have proposed is just about static variables of functions, not all local variables.

Then you'd have to add marking them with "public" and "private".

It doesn't seem worth the effort.


More information about the Digitalmars-d mailing list