Operator overloading through UFCS doesn't work
ixid via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue May 31 07:11:58 PDT 2016
On Sunday, 29 May 2016 at 07:18:10 UTC, Jonathan M Davis wrote:
> And the fact that allowing free functions to overload operators
> via UFCS sends us into that territory just highlights the fact
> that they're a horrible idea.
>
> - Jonathan M Davis
Do you have any examples of UFCS doing bad things? Most people
seem to very much like it yet you argue against any change that
would benefit UFCS.
You seem to prefer:
read(to(easier(much(i)))) over i.much.easier.to.read
More information about the Digitalmars-d-learn
mailing list