C++ UFCS update
w0rp via Digitalmars-d
digitalmars-d at puremagic.com
Mon Feb 15 23:59:49 PST 2016
Personally, I find this proposal for C++ to be laughable. It's
like hitch hiking from New York to California, and only getting
as far as Texas and calling it good.
The great thing about our UFCS is the left-to-right chaining of
algorithms.
x.map!(...).filter!(...).reduce!(...)
It beats the Hell out of...
reduce!(...)(filter!(...)(map!(...)(x)))
This proposal will encourage non member functions, which is good,
but will never reach the "aha" moment D had which gave us UFCS
chaining.
More information about the Digitalmars-d
mailing list