🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #5842

Re: Programming Paradigms

#5842
From: johnson
Date: Wed, 02 Nov 1988 22:52
27 lines
1963 bytes
/* Written  5:05 am  Oct 22, 1988 by eliot@phoenix.Princeton.EDU in p.cs.uiuc.edu:comp.lang.misc */
In article <6154@june.cs.washington.edu> pardo@cs.washington.edu (David Keppel) writes:
|jack@cs.glasgow.ac.uk (Jack Campin) writes:
|]dlbaer@mozart.UUCP (Dennis L. Baer ) wrote:
	Stuff about SPL, which was followed by ...
|]:-)  You mean I can't use complex numbers to index an iteration?    :-)
|]:-)  For shame!  This language obviously still needs some work...   :-)
|
|Oh, you think that you have problems.  Gee, I can't use structures and
|datatypes as array inidicies.  That's a real problem for me.

That's not nearly as great as my problem. I need a FOR loop that uses
Japanese art-films for its indices. Maybe I should switch to SPL? 
/* End of text from p.cs.uiuc.edu:comp.lang.misc */

Smalltalk lets you use Japanese art-films for indices if you want
(Dictionary indices, not Array indices), though you will have to
define a class to represent Japanese art-films.  Any kind of object
can be an index of a Dictionary.  Most object-oriented languages let
you define iterators that you can use to iterate over collections,
though Smalltalk iterators are easier to use than most.  Iterators
that do the same thing as a FOR loop usually do not generate indices
to an array but generate the elements in the collection directly.

I know that the comment about Japanese art-films was probably a joke,
but I couldn't resist plugging my favorite language.
Technical Details
Message-ID: <82100005@p.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!cwjcc!hal!nic.MR.NET!tank!uxc!uxc.cso.uiuc.edu!m.cs.uiuc.edu!p.cs.uiuc.edu!johnson
References: <39964@aero.ARPA>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!cwjcc!hal!nic.MR.NET!tank!uxc!uxc.cso.uiuc.edu!m.cs.uiuc.edu!p.cs.uiuc.edu!johnson
From: johnson@p.cs.uiuc.edu
Newsgroups: comp.lang.misc
Subject: Re: Programming Paradigms
Message-ID: <82100005@p.cs.uiuc.edu>
Date: 2 Nov 88 22:52:00 GMT
References: <39964@aero.ARPA>
Lines: 27
Nf-ID: #R:aero.ARPA:39964:p.cs.uiuc.edu:82100005:000:1458
Nf-From: p.cs.uiuc.edu!johnson    Nov  2 16:52:00 1988