Home > Archive > Functional > May 2007 > Re: Re: The Concepts and Confusions of Prefix, Infix,
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: Re: The Concepts and Confusions of Prefix, Infix,
|
|
| Garry Hodgson 2007-05-10, 10:04 pm |
| Jon Harrop <jon@ffconsultancy.com> wrote:
> Tim Bradshaw wrote:
>
> F# also lets you do this and I see it as an advantage.
my experience during many years of c++ is that operator overloading
is a Really Bad Idea. nice in theory, a mess in practice. you'd be
astonished (i was) at the bizarre notions people come up with for
overloading "+", for example ( apple + streetcar yields kangaroo,
while burning a cd as a side effect ).
yes, that's a made up example, but not far off the mark.
overloading would be fine if only sensible people used it,
but compiler technology is insufficiently advanced to
enforce that.
----
Garry Hodgson, Senior Software G , AT&T CSO
nobody can do everything, but everybody can do something.
do something.
|
|
|
|
|