yank unary '+'?
Michiel Helvensteijn
m.helvensteijn.remove at gmail.com
Mon Dec 7 01:06:14 PST 2009
Andrei Alexandrescu Wrote:
> > What will removing it gain you?
>
> Sancta simplicitas.
Hm.. I don't really buy that argument.
I see you and Walter removing/witholding things (incomparability operators, logical operator overloading) from the language, because: "I can't imagine a use for it and removing it makes the language simpler."
Meanwhile, you're keeping C syntax for function-pointers around, and I'm missing syntactic sugar for my tribool.
The fact that you or I think there isn't a use for a feature, doesn't mean there isn't one. Programmers keep finding new and unintended uses for language features, which is a good thing. And if you want to simplify the language, I wouldn't start with the unary + when you've still got all that C stuff around.
--
Michiel Helvensteijn
More information about the Digitalmars-d
mailing list