From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8ffd9ca0013db6a7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-10-31 12:00:13 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: Re: Redefined "=" = generic disaster? Date: Tue, 31 Oct 2000 19:51:32 GMT Organization: Deja.com - Before you buy. Message-ID: <8tn7s1$9gp$1@nnrp1.deja.com> References: <39F13ED9.1EE@li.net> <39F1C092.87D4135E@acm.org> <39F1F686.26B5@li.net> <8tecab$epm$1@nnrp1.deja.com> <39FCEFAD.56BE85B1@ix.netcom.com> <8tkfme$v8a$1@nnrp1.deja.com> <39FE3C35.64CBB3C7@ix.netcom.com> NNTP-Posting-Host: 205.232.38.240 X-Article-Creation-Date: Tue Oct 31 19:51:32 2000 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) X-Http-Proxy: 1.0 x65.deja.com:80 (Squid/1.1.22) for client 205.232.38.240 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:1669 Date: 2000-10-31T19:51:32+00:00 List-Id: In article <39FE3C35.64CBB3C7@ix.netcom.com>, Lao Xiao Hai wrote: >The point of the posting is that one can certainly overload the >equality operator in strange ways and those can be coded so >as to obfuscate any reasonable meaning. I still don't get it, the original claim was that there was something special about "=" that made things particularly awkward. Your example just shows that you can choose to overload "=" unwisely, but that is true for any operator, e.g. if you make "+" do a subtraction, or for that matter any badly named function. A "Put" function that actually does a read is equally confusing. Sent via Deja.com http://www.deja.com/ Before you buy.