Re: Issue of the week
On Thu, 1 Oct 1998, Hawke wrote:
Hawke, it seems you snipped/missed the bit where I was arguing that
overloading can be a bad idea... Sorry if my post confused :-S
And, with the Ada code I was overloading, not redefining. One is not the
other. Gotta be careful with these things... :)
On the other hand the smiley at the bottom could just mean you're
"'avin a larf", I bit, and you're now reeling me in :)
> >Take the following Ada Code:
> > type Dodgy is new Integer;
> > function "*"(Left: Integer; Right: Integer) return Dodgy is
> > begin
> > return Dodgy(Left + Right); -- *Plus*?! Oh dear...
> > end Dodgy;
> i reiterate :)
> overloading gives me headaches, *especially* when i see
> s*it like presented above... redefining '*' as PLUS?
> you are simply... evil!... dare i say downright _mean_???
> ;>
Happy coding,
Carl
--
Carl R White
E-mail...: cyrek- at -bigfoot.com -- Remove the hyphens before mailing. Ta :)
Url......: http://www.bigfoot.com/~cyrek/
"Ykk rnyllaqur rgiokc cea nyemdok ymc giququezka caysgr." - B.Q.Vgesa
|
Not Categorized, Please Help
|
|