Would like to see ref and out required for function calls
Alex Rønne Petersen
alex at lycus.org
Mon Sep 10 22:00:59 PDT 2012
On 11-09-2012 06:21, zerg wrote:
>> But i have to admit, that it might be too late for changes in D2
> regarding this just because it would break too much existing code
> Such feature can be implemented as optional in D2 with compiler switch
> to enforce explicit ref and out syntax.
It's already highly problematic that we have -property (and that it
isn't the default).
D code shouldn't stop being valid just because of a missing compiler
switch (or the presence of one).
--
Alex Rønne Petersen
alex at lycus.org
http://lycus.org
More information about the Digitalmars-d
mailing list