Martin Nowak is officially MIA
Timon Gehr
timon.gehr at gmx.ch
Fri Mar 28 23:03:06 UTC 2025
On 3/27/25 21:25, Walter Bright wrote:
> On 3/18/2025 11:05 PM, Manu wrote:
>> I can't imagine any good reason his experiment should have failed.
>
> My experience with C++ and Koenig lookup heavily influenced this.
>
> It looks nice in simple examples, but nobody stops with simple examples.
> Impenetrable code is the result.
>
> Operator overloading should be part of the type, not standalone coming
> from somewhere else.
>
D has no Koenig lookup. D will never have Koenig lookup. Koenig lookup
is utterly irrelevant in this discussion.
There really ought not be any important difference between:
a + b
and
a.opBinary!"+"(b)
One is just supposed to be syntactic sugar for the other. The
documentation states as much.
More information about the Digitalmars-d
mailing list