The Non-Virtual Interface idiom in D

Jason House jason.james.house at gmail.com
Sat Sep 26 13:32:02 PDT 2009


Denis Koroskin Wrote:

> On Sat, 26 Sep 2009 22:30:58 +0400, Walter Bright  
> <newshound1 at digitalmars.com> wrote:
> 
> > language_fan wrote:
> >> This starts to sound like traits (http://www.codecommit.com/blog/scala/
> >> scala-for-java-refugees-part-5). On this road D is becoming a great  
> >> tribute to Scala.
> >
> > D has borrowed ideas from many different languages. The trick is to take  
> > the good stuff and avoid their mistakes <g>.
> 
> How about this one:
> http://sadekdrobi.com/2008/12/22/null-references-the-billion-dollar-mistake/
> 
> :)

I'd love to see D have non-nullable references by default.



More information about the Digitalmars-d mailing list