Final by default?
Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Sat Mar 15 01:22:44 PDT 2014
On Saturday, 15 March 2014 at 07:36:12 UTC, Walter Bright wrote:
> The only reason to have an accessor function is so it can be
> virtual.
No:
1. To have more readable code: using x, y, z, w to access an
array vector
2. Encapsulation/interfacing to differing implementations.
Seems to me that the final by default transition can be automated
by source translation.
Please don't send D further into the land if obscurity by adding
!final...
At some point someone will create D--...
More information about the Digitalmars-d
mailing list