Article View: comp.lang.misc
Article #4417Re: GOTO controversy
From: Björn Helgason
Date: Mon, 25 Mar 1996 07:50
Date: Mon, 25 Mar 1996 07:50
51 lines
1893 bytes
1893 bytes
John E. Howland wrote: > > Scott Hawley (shawley@connix.com) wrote: > > What to you think? Loops without using loops? In J the concept of "each" does away with loops alltogether. You place all the items you want to operate on in arrays. Character arrays, numerical arrays or boxed arrays. You then apply all kinds of operations on these arrays. With "each" you do not have to specify or test for beginnings or ends of anything. As for the developer there is no need to think about how this is actually performed in the machine. In the past this was a burden for the machine because developers could write code so fast that the machines had a difficult time executing all that was given to them. It is only recvently that the machines have become fast enough to take the likes of J that lets developers write in a few statements things that used to make the machine operate on for a long time. J does not care how many elements an array has when you write a plus b if you as a developer have defined plus=.+ a=.2 b=.3 with a and b as scalars or a=. 1234 23$i.111111 J still allows you to write a plus b No loops need to be defined. -- /Gosi bjornhp@simi.is Bjorn Helgason Spitalastig 4 101 Reykjavik Iceland 354 562 5441 http://www.jsoftware.com
Technical Details
Message-ID:
<3156502C.56D7@simi.is>Path:
arc1-ca.pugleaf.net!news.simi.is!newsadmReferences:
<314FB5F5.259B@simi.is> <3151B47F.70FD@connix.com> <4iv0hl$1pg@neptune.cs.trinity.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.simi.is!newsadm From: Björn Helgason <bjornhp@simi.is> Newsgroups: comp.lang.misc,comp.lang.c,comp.lang.pl1,comp.lang.apl Subject: Re: GOTO controversy Date: Mon, 25 Mar 1996 07:50:04 +0000 Organization: Post and Telecom Iceland, IS-150 Reykjavik, ICELAND Message-ID: <3156502C.56D7@simi.is> References: <314FB5F5.259B@simi.is> <3151B47F.70FD@connix.com> <4iv0hl$1pg@neptune.cs.trinity.edu> NNTP-Posting-Host: simi.is Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.0 (Win95; I)