Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!dptg!att!cbnews!djz From: djz@cbnews.ATT.COM (Danny Zerkel) Newsgroups: comp.lang.misc Subject: Re: := Keywords: assignment comparison Message-ID: <9944@cbnews.ATT.COM> Date: 5 Oct 89 13:03:28 GMT References: <32861@cornell.UUCP> Reply-To: djz@cbnews.ATT.COM (Danny Zerkel,45256,cb,1C393,6148605852) Organization: AT&T Bell Laboratories Lines: 12 My personal preference is to spilt these down the middle. I would use := for assignment and == for comparison. And not use = at all! But, I haven't actually worked with a language that does this, so this might be a bad idea. I can't help thinking that in a language where assignment and comparison are equally valid (e.g., C), it would make an obscure sort of sense to make then symbols as distinct as possible. ---------------------------------------------------------------------------- Danny J. Zerkel AT&T Bell Labs Columbus, OH