extends and implements
Steven Schveighoffer
schveiguy at yahoo.com
Mon Nov 7 10:27:54 PST 2011
On Mon, 07 Nov 2011 13:22:07 -0500, %u <null at devnull.com> wrote:
> Hello.
>
> I know D isn't Java, but one trivial thing I liked about Java is
> the introduction of 'extends' and 'implements' as keywords as ways
> to clarify the class relationships when defining a class. You
> know:
>
> class Subclass extends SuperClass implements AnInterface {
> ...
> }
>
> Will they ever add this in to D?
No.
> If not, why not?
In order for such a humongously code-breaking change to occur, there would
have to be dire reasons why this was necessary. Because you liked Java is
not a qualifying reason.
-Steve
More information about the Digitalmars-d-learn
mailing list