🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #706

Re: :=

#706
From: Chris Hermansen
Date: Thu, 12 Oct 1989 18:55
38 lines
2303 bytes
In article <6082@tekgvs.LABS.TEK.COM> toma@tekgvs.LABS.TEK.COM (Tom Almy) writes:
>In article <113@tacitus.tfic.bc.ca> clh@tacitus.UUCP (Chris Hermansen) writes:
>>In article <6054@tekgvs.LABS.TEK.COM> toma@tekgvs.LABS.TEK.COM (Tom Almy) writes:
>>>I personally would like to see the left arrow back. It makes more sense
>>>...
>>What does
>>	i<-37
>>mean, given this symbology; "i becomes 37" or "i lessthan -37"?
>
>Well, in languages that don't allow embedded assignments operations, there
>is no syntactic conflict. As a statement it would be the former and as an
>...
>equals. Maybe we should use "i setq 37". :-)
>

"i setq 37" indeed!  Why not "37 gozinta i"?

Our C programming friends out there, who enjoy the `freedom' that an
expression-oriented language provides, would certainly disapprove of this
type of reasoning for using a language that does not treat assignment
thingies as full-fledged expressions.  Remember the notes scattered around
various U**X manuals about the old "=-" operator (ie what is a=-b?);
the `fix' here was to change the operator to "-=", and all the other
`x-and-becomes' operators similarly.

We more serious types (all 373 of us) that still think Algol 68 was the
supreme being's gift to programming languages would doubtless be horrified
by perverting an expression such as
	y:=(x<-45 'or x>45|sin|cos)(x)
to
	y<-(x<-45 'or x>45|sin|cos)(x)
even though one ought to be able to define an operator to do it |-*


Chris Hermansen                         Timberline Forest Inventory Consultants
Voice: 1 604 733 0731                   302 - 958 West 8th Avenue
FAX:   1 604 733 0634                   Vancouver B.C. CANADA
uunet!ubc-cs!van-bc!tacitus!clh         V5Z 1E5
Technical Details
Message-ID: <114@tacitus.tfic.bc.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!van-bc!tacitus!clh
References: <1989Oct3.182931.518@jarvis.csri.toronto.edu> <6054@tekgvs.LABS.TEK.COM> <113@tacitus.tfic.bc.ca> <6082@tekgvs.LABS.TEK.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!van-bc!tacitus!clh
From: clh@tacitus.tfic.bc.ca (Chris Hermansen)
Newsgroups: comp.lang.misc
Subject: Re: :=
Message-ID: <114@tacitus.tfic.bc.ca>
Date: 12 Oct 89 18:55:55 GMT
References: <1989Oct3.182931.518@jarvis.csri.toronto.edu> <6054@tekgvs.LABS.TEK.COM> <113@tacitus.tfic.bc.ca> <6082@tekgvs.LABS.TEK.COM>
Reply-To: clh@tacitus.UUCP (Chris Hermansen)
Organization: Timberline Forest Inventory Consultants, Vancouver BC
Lines: 38