[Discuss] OT - C++ operator overloading question.
Adam Parkin
pzelnip at telus.net
Thu Aug 31 07:23:20 PDT 2006
David Bronaugh wrote:
> Yeah, but who cares? It'll work if you don't need to return it, and it
> significantly decreases code complexity.
"Significantly decreases code complexity?" Methinks that's a bit of an
overstatement. I agree with you that it's a technique worth using in
moderation, but my point still stands: you have to be aware of the fact
you can't return a reference to a local variable.
>> Yet another reason to use a decent language (ie one with garbage
>> collection). =;-p
> GC doesn't make a language decent. Java is proof of that.
DING! And let the language wars begin anew..... =8-p
--
--
Adam Parkin
E-mail: pzelnip at telus.net
----------------------
Nothing will benefit human health and increase chances for survival of
life on Earth as much as the evolution to a vegetarian diet.
-- Albert Einstein
More information about the Discuss
mailing list