std.compress

Jakob Ovrum jakobovrum at gmail.com
Tue Jun 11 11:50:17 PDT 2013


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-learn@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.


More information about the Digitalmars-d mailing list