Static function at module level
H. S. Teoh via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Aug 18 06:54:32 PDT 2014
On Mon, Aug 18, 2014 at 06:46:02AM +0000, bearophile via Digitalmars-d-learn wrote:
> ketmar:
>
> >other function declarations (methods, nested functions) accepts
> >'static', so why free functions shouldn't?
>
> For various reasons, one of them is that accepting useless code
> confuses newbies and doesn't allow them to build a correct model of
> the D semantics in their head.
[...]
Is there a bug filed for this?
T
--
Век живи - век учись. А дураком помрёшь.
More information about the Digitalmars-d-learn
mailing list