🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #5854

Re: Programming Paradigms

#5854
From: Paul Stachour
Date: Tue, 08 Nov 1988 05:29
21 lines
1702 bytes
In article <82100005@p.cs.uiuc.edu> johnson@p.cs.uiuc.edu writes:
>
>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 */

  I've often found the need to do arbitrary indexing as well.
  When the type-of-item you need to use is not 'natural' to your
  programming language, then maybe you need to map it into something 
  that is.  May I suggest using the one of the "map" family of 
  components for Ada that are distributed by Grady Booch
  (Wizard Software, 835 S. Moore St., Lakewood, Colorado 80226).
  And since it is in Ada, the mapping is protected (by Ada private types)
  against other modules messing with your mapping indicies!
  [I prefer to do things in a way where other people's accidental
  buggy code does not make mine {good or buggy} malfunction.]
  ...Paul
-- 
 Paul D. Stachour, Adjunct Professor, University of Minnesota
 USPost:  4-192 EE/CompSci Bldg, Univ of Minn, Minneapolis, Minn. 55455
 Internet:  stachour@umn-cs.cs.umn.edu   Telephone:  (612)-782-7135
Technical Details
Message-ID: <9974@umn-cs.CS.UMN.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!agate!labrea!rutgers!uwvax!umn-d-ub!umn-cs!stachour
References: <39964@aero.ARPA> <82100005@p.cs.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!agate!labrea!rutgers!uwvax!umn-d-ub!umn-cs!stachour
From: stachour@umn-cs.CS.UMN.EDU (Paul Stachour)
Newsgroups: comp.lang.misc
Subject: Re: Programming Paradigms
Summary: Why not use the "map" Ada component.
Keywords: mapping, Ada, array-indexes
Message-ID: <9974@umn-cs.CS.UMN.EDU>
Date: 8 Nov 88 05:29:16 GMT
References: <39964@aero.ARPA> <82100005@p.cs.uiuc.edu>
Reply-To: stachour@umn-cs.UUCP (Paul Stachour)
Organization: University of Minnesota, Minneapolis
Lines: 20