Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!andante!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!mailrus!uwmcsd1!vanvleck!uwvax!umn-d-ub!umn-cs!ns!ddb From: ddb@ns.UUCP Newsgroups: comp.lang.c Subject: Re: Should I convert FORTRAN code to C? Summary: Comparison, too Message-ID: <292@ns.nsc.com> Date: 30 Jun 88 16:40:17 GMT References: <2742@utastro.UUCP> <20008@beta.UUCP> <224@raunvis.UUCP> <8184@brl-smoke.ARPA> Organization: Network Systems Corp. Mpls MN Lines: 15 In article <8184@brl-smoke.ARPA>, gwyn@brl-smoke.ARPA (Doug Gwyn ) writes: > However, operator overloading is vastly overrated; > most operations on extended data types do not map (unambiguously) onto > the conventional arithmetic operations. Complex numbers are about the > only case that does. Comparison and assignment. Operators aren't all arithmetic. C already supports assignment of structures, but I miss comparison regularly. (Note -- I'm not changing the subject to suggest yet again that equality comparison of structures be implemented, I'm talking about the uses of operator overloading; just in case the other is still a touchy subject here :-). -- -- David Dyer-Bennet Fidonet 1:282/341.0