Browse thread
RE: [Caml-list] Operator overloading
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-03-08 (21:31) |
From: | Brian Hurt <bhurt@j...> |
Subject: | Re: [Caml-list] Operator overloading |
Tom wrote: > > Albeit Brian Hurt's comment about operator overloading making more > harm than good in C++, I believe that overloading simply has to be > used appropriately - it's like saying pointers are bad because they > can introduce memory leaks and null references, and division is bad > because it can raise Division_by_zero exceptions. > So maybe we should introduce pointers into Ocaml? Brian