std.compress

Jonathan M Davis jmdavisProg at gmx.com
Tue Jun 11 11:59:25 PDT 2013


On Tuesday, June 11, 2013 20:50:17 Jakob Ovrum wrote:
> On Tuesday, 11 June 2013 at 18:43:45 UTC, Timothee Cour wrote:
> > I have found a better way to do that: see
> > http://forum.dlang.org/post/mailman.1002.1370829729.13711.digitalmars-d-le
> > arn at puremagic.com subject: 'best way to handle UFCS with ambiguous names:
> > using
> > std.typetuple.Alias!'
> > syntax: 'arg1.Alias!(std.file.write).arg2'*
> > see related discussion for reasoning. I'd like to push this as
> > standard way
> > to deal with ambiguities.
> 
> It's clearly an option, but I think it's too syntactically heavy,
> causing more harm than good (the idea of UFCS is, of course,
> readability!).
> 
> Since these conflicting symbols are in the minority for the vast
> majority of code units, I think renamed symbols are much, much
> better.

Agreed.

- Jonathan M Davis


More information about the Digitalmars-d mailing list