On 2011-11-08 03:07, Jesse Phillips wrote:
On Mon, 07 Nov 2011 18:22:07 +0000, %u 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? If not, why not? thanks.There are only two instances I like know if something is an interface or class. The first is when I am defining it, for some reason I want to tell the whole world, "Hey I'm building an interface here so be sure to include these." Which really isn't important. The second is when I want to find its definition. Hmmm, should I be greping for /class Window/, /interface Window/, or /struct Window/ Otherwise the distinction has been pointless.
This should be handled by an IDE/editor with go-to-definition. -- /Jacob Carlborg
