UFCS for arguments other than first?

Heisenberg via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 12 02:57:31 PST 2016


On Friday, 11 November 2016 at 23:27:30 UTC, Jonathan M Davis 
wrote:
> Ultimately, the only technical benefit from UFCS is that it 
> allows you to call a function without caring whether it's a 
> member function or a free function, which is of great benefit 
> to generic code and not really much else. Otherwise, it's just 
> a syntactic preference - albeit one that many people prefer.
>
> - Jonathan M Davis

If many people prefer it - why not develop it further? UCFS, 
along with other 'D Gems' is one of the selling points of the 
language, after all.


More information about the Digitalmars-d mailing list