Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site callan.UUCP Path: utzoo!linus!philabs!prls!amdimage!amdcad!decwrl!decvax!tektronix!hplabs!sdcrdcf!trwrb!scgvaxd!wlbr!callan!tim From: tim@callan.UUCP (Tim Smith) Newsgroups: net.lang.c Subject: Re: more about programming style Message-ID: <1074@callan.UUCP> Date: Tue, 13-Aug-85 16:00:52 EDT Article-I.D.: callan.1074 Posted: Tue Aug 13 16:00:52 1985 Date-Received: Tue, 20-Aug-85 01:39:25 EDT References: <11457@brl-tgr.ARPA> <68@ucbcad.UUCP> Organization: Callan Data Systems, Westlake Village, CA Lines: 16 > > What chance is there of having assignment denoted by := in the standard? > > (None, right? To much code is written with = already. And if I really > > insist I could use the preprocessor. None the less ... ) > > The reason I would like this is then ALL assignments ( +=, |=, etc) would > > be two characters long (consistancy!!). Among other things this would minimize > > the = vs == type errors. > > > > Todd Olson > > Um, what about <<= & >>=? Simple. Replace <= with .le. and >= with .ge., < with .lt., > with .gt.. Then Shift can become < or >, and shift assignment can be <= or >=. -- Tim Smith ihnp4!{cithep,wlbr!callan}!tim