Xref: utzoo comp.lang.c:11028 comp.lang.fortran:852 Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!nrl-cmf!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c,comp.lang.fortran Subject: Re: Mathematical expression syntax (was: C vs. Fortran) Message-ID: <8199@brl-smoke.ARPA> Date: 30 Jun 88 21:26:25 GMT References: <20506@beta.lanl.gov> <559@lanl.gov> <20509@beta.lanl.gov> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Followup-To: comp.lang.fortran Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 14 In article <20509@beta.lanl.gov> jlg@beta.lanl.gov (Jim Giles) writes: >The parts of Fortran which represent scalar mathematical expressions >do a creditable job of keeping to traditional mathematical syntax. Yeah, like X = X + 1 SNARF(IY) = 2 * (ZZ ** 3 - FLOAT( IY )) / SQRT( 2.0 ) (Quick, was that an array assignment or a statement function definition?) Could this discussion of Fortran and "mathematical syntax" please be moved out of the C newsgroup? Better yet, could the whole "my language is better than yours" discussion cease? The original question was whether a particular shop should perform a wholesale conversion of existing Fortran code to C. A useful answer to such a question would have very little to do with which language is closest to mathematical syntax, whatever that is supposed to mean.