A new class -->String
David B. Held
dheld at codelogicconsulting.com
Thu Apr 5 20:39:28 PDT 2007
Jari-Matti Mäkelä wrote:
> [...]
> I'm sure we all agree on that. Extending previously closed classes is a
> valuable feature in modern object oriented programming.
> [...]
The free vs. method syntax proposal I mentioned earlier is not
equivalent to extending closed classes. The latter would imply the
ability to add virtual functions and method overloads outside the
definition of the class, or accessing private members, which are not
possible under this proposal.
Dave
More information about the Digitalmars-d
mailing list