D's greatest mistakes

Jonathan M Davis jmdavisProg at gmx.com
Mon Nov 29 12:53:51 PST 2010


On Monday, November 29, 2010 12:48:45 Kagamin wrote:
> Steven Schveighoffer Wrote:
> > lack of tail-const/immutable for classes.
> > 
> > And no, Rebindable doesn't cut it.
> 
> As I understand, it's primarily issue for collections?

The lack of tail-const is a particularly big problem for handling ranges, I 
believe. It means that certain things will work with arrays which won't work 
with user-defined ranges.

- Jonathan M Davis


More information about the Digitalmars-d mailing list