Final by default?
Sarath Kodali
sarath at dummy.com
Wed Mar 12 23:13:11 PDT 2014
On Thursday, 13 March 2014 at 05:31:17 UTC, Manu wrote:
>
> Again, this is conflating random breakage with controlled
> deprecation.
> A clear message with a file:line that says "virtual-by-default
> is
> deprecated, add 'virtual' _right here_." is not comparable to
> the behaviour
> of byLine() silently changing from release to release and
> creating some
> bugs, or std.json breaking unexpectedly with no warning.
Hundreds or thousands of "deprecated" warning messages for every
D project vs adding "final:" for few classes in few projects.
Which is better?
- Sarath
More information about the Digitalmars-d
mailing list