Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!quintus!ok
From: ok@quintus.uucp (Richard A. O'Keefe)
Newsgroups: comp.lang.c
Subject: Re: Should I convert FORTRAN code to C?
Message-ID: <148@quintus.UUCP>
Date: 30 Jun 88 04:11:22 GMT
References: <2742@utastro.UUCP> <20008@beta.UUCP> <224@raunvis.UUCP> <1189@mcgill-vision.UUCP> <20454@beta.lanl.gov> <829@garth.UUCP> <8184@brl-smoke.ARPA>
Sender: news@quintus.UUCP
Reply-To: ok@quintus.UUCP (Richard A. O'Keefe)
Organization: Quintus Computer Systems, Inc.
Lines: 12

In article <8184@brl-smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes:
>Wrong on all those counts.  C allows casting to any defined type and
>assignment of any structure type.

Maybe I'm confused here, but I thought C only allowed casts to and from
SCALAR types.  In particular, I've never succeeded in casting to or from
unions or structs.

Doug Gwyn also claimed that operator overloading wasn't much use, because
there aren't a lot of uses for it.  If your language is APL, maybe not, but
the arithmetic operations generalise to vectors, matrices, polynomials, &c
very nicely indeed.