Article View: comp.lang.prolog
Article #4154Re: incrementing values
From: Gary Murphy
Date: Mon, 05 Feb 1990 03:37
Date: Mon, 05 Feb 1990 03:37
16 lines
1432 bytes
1432 bytes
Looking at the original question, I'm reminded of why we've continued to
develop new programming languages. A 'mangle' like x +=1 has nothing to
do with prolog: is 7 now equivalent to 6? Rolling the digits on the
register object is best left to the object-oriented extensions, and I
for one would rather the compiler accepted a more logical x' = x + 1 and
spat out a terser INC AX! Ours is not to wonder how ...
Gary Murphy uunet!mitel!sce!cognos!garym
(garym%cognos.uucp@uunet.uu.net)
(613) 738-1338 x5537 Cognos Inc. P.O. Box 9707 Ottawa K1G 3N3
"There are many things which do not concern the process" - Joan of Arc
--
Gary Murphy uunet!mitel!sce!cognos!garym
(garym%cognos.uucp@uunet.uu.net)
(613) 738-1338 x5537 Cognos Inc. P.O. Box 9707 Ottawa K1G 3N3
"There are many things which do not concern the process" - Joan of Arc
Technical Details
Message-ID:
<7926@cognos.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!dciem!nrcaer!sce!cognos!garymReferences:
<17467@megaron.cs.arizona.edu> <31462@shemp.CS.UCLA.EDU> <34699@iuvax.cs.indiana.edu> <17483@megaron.cs.arizona.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!dciem!nrcaer!sce!cognos!garym From: garym@cognos.UUCP (Gary Murphy) Newsgroups: comp.lang.prolog Subject: Re: incrementing values Keywords: optimization, mangle Message-ID: <7926@cognos.UUCP> Date: 5 Feb 90 03:37:26 GMT References: <17467@megaron.cs.arizona.edu> <31462@shemp.CS.UCLA.EDU> <34699@iuvax.cs.indiana.edu> <17483@megaron.cs.arizona.edu> Reply-To: garym@cognos.UUCP (Gary Murphy) Organization: Cognos Inc., Ottawa, Canada Lines: 16