Another idiom I wish were gone from phobos/druntime

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 4 16:40:01 PST 2015


On 2/4/15 4:30 PM, Rikki Cattermole wrote:
> So are we recommending against contract based programming for simple
> getter type methods?

The shorter version is as contract based as the other.

> Personally I think those auto's are more important to get rid of in this
> code. They actually do harm for anyone reading the docs.

That would be a separate discussion.


Andrei


More information about the Digitalmars-d mailing list