Newsgroups: comp.lang.dylan
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!yeshua.marcam.com!usc!howland.reston.ans.net!EU.net!uunet!wri!jbrewermac.wri.com!jbrewer
From: John Brewer <jbrewer@wri.com>
Subject: Re: Could this be a BAD thing?
Message-ID: <CxzH1J.2Hu@wri.com>
X-Xxmessage-Id: <AACC1BA88C01C990@jbrewermac.wri.com>
X-Xxdate: Thu, 20 Oct 1994 19:05:44 GMT
Sender: news@wri.com ( )
Nntp-Posting-Host: jbrewermac.wri.com
Organization: Wolfram Research, Inc.
X-Newsreader: Nuntius Version 1.2
References: <37kuhe$p4l@hobbes.cc.uga.edu> <korcuska-1810941305290001@korcuska.ils.nwu.edu> <1994Oct18.134139.1524@news.cs.indiana.edu>
Date: Thu, 20 Oct 1994 18:08:06 GMT
Lines: 14

In article <37sd70$4sl@nntp.Stanford.EDU> Amit Patel,
amitp@Xenon.Stanford.EDU writes:
>I think the way to avoid all of this would be to use := for assignment
>and == for comparison, and don't allow = to be used in expressions.
>(Perhaps = can be used only in initialization.)  People don't seem to
>get := and == confused -- just (:= and =) or (= and ==).

Agreed.  I'd say a majority of the defects I find in C are from using "="
instead of "==", rather than vice versa.  I'm much more likely to omit a
character than add another.

John Brewer
Wolfram Research, Inc.
(but speaking for myself)
