Reddit: why aren't people using D?
Daniel Keep
daniel.keep.lists at gmail.com
Fri Jul 24 01:32:50 PDT 2009
Walter Bright wrote:
>
>> no overloading of !, &&, ||,
>
> What bothers me about overloading && and || is they are control flow
> constructs, not really "operators". For example, ?: is also a control
> flow operator, and it sensibly isn't overloadable in C++.
>
> What if you could overload if..else.. statements? I'm sure someone
> somewhere could find a use for that, but it's still not a good idea.
Ask downs about that one :3
More information about the Digitalmars-d
mailing list