On Sunday, 21 February 2016 at 00:52:13 UTC, bitwise wrote:
I don't get how it would be useful at all to type f(x, y) and have the compiler call x.f(y) for me. Why would I ever not want to just use member invocation syntax?
One reason could be connecting to OO based code that's written purely in C (but doesn't have the member invocation). I think a good portion of XWindows was written that way.
Beyond that I'm not sure.