Path: utzoo!mnetor!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 Subject: Re: The need for D-scussion (was Re: D Wishlist) Message-ID: <7460@brl-smoke.ARPA> Date: 19 Mar 88 01:19:44 GMT References: <12176@brl-adm.ARPA> <1988Mar11.215238.976@utzoo.uucp> <3732@bloom-beacon.MIT.EDU> <7451@brl-smoke.ARPA> <6128@bellcore.bellcore.com> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <6128@bellcore.bellcore.com> sjs@spectral.UUCP (Stan Switzer) writes: >How about: > q = a/b, r = a%b; Nice try, but no cigar. It works fine for this simple example, but what if a and b are replaced by more complex expressions, perhaps involving side-effects? This is the same situation that justifies the presence of the op= operators in the language.