From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bc4137777a63bff X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 26 Jul 2005 12:31:38 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Help needed for ada package References: <1122372224.124606.271380@f14g2000cwb.googlegroups.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Tue, 26 Jul 2005 12:31:39 -0500 NNTP-Posting-Host: 24.6.143.98 X-Trace: sv3-CAayWBBo4s5IdYqSKGqTLorxY98kPxTgw/Y/6720hpIicQlVz2O8McVXQOsjfCg9LhFjXn+aPXrPB9J!+j4nuegm0rgFaccjjfgyokBNKOjdgbPOdCdk2FteXeycyE/VLIGgedajlLanRQKqSSkkocTqZ2g= X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.31 Xref: g2news1.google.com comp.lang.ada:3791 Date: 2005-07-26T12:31:39-05:00 List-Id: If you are a humanities major just trying to pass a required science course, and just want something to barely "get by", forget priority queues and databases and just use arrays. If there aren't many citizens that will work fine in both speed and storage. If type ID is (<>); is for instance "range 1 .. 100" just declare your arrays with ID as their subscripts. If ID is too big (eg, Integer), you can have a separate lookup list to translate between ID and a (small) subscript value. Even the "find all the associates of all the associates of ... of all the associates of X can be done with a simple recursion and a check-off list of citizens already looked at. In general, sitting back and asking "what information is required here?" is a better start than "which of these complicated tools that I don't really understand all that well, should I use?". OTOH, be aware that more than one dot-com company started with a simple implementation cooked up in a dorm room that turned out not to scale up.