Tsoding streamed about D
Walter Bright
newshound2 at digitalmars.com
Thu Mar 27 20:34:21 UTC 2025
On 3/19/2025 6:20 AM, Ogion wrote:
> “With that power I should have power too great and terrible. And over me the
> Ring would gain a power still greater and more deadly.”
Koenig Lookup (officially known as ADL, Argument Dependent Lookup) is a terrible
thing. Even Andrew Koenig was unhappy his name was associated with it.
I've seen the destruction that ADL hath wrought. It's similar to the horrors
that macros inevitably spawn. Although hobbits are resistant to its evil
influence, I haven't met any hobbitses yet. Just too many Boromirs.
D originally was not going to have operator overloading at all because of that,
but eventually it was added, but heavily restricted compared with C++.
More information about the Digitalmars-d
mailing list