Revised RFC on range design for D2
Bill Baxter
wbaxter at gmail.com
Thu Oct 2 17:40:16 PDT 2008
On Fri, Oct 3, 2008 at 9:37 AM, Bill Baxter <wbaxter at gmail.com> wrote:
> ... except these extras do have the same issue that plain property
> assignment does. They would open up a new class of things that are
> valid code but don't behave as expected. writefln += 5.
>
Doh, obviously writefln is a bad example there. Imagine a function
that takes an int, tries to do something that many times, then returns
an int indicating how many times it actually managed to do it.
--bb
More information about the Digitalmars-d-announce
mailing list