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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11232c,59ec73856b699922 X-Google-Attributes: gid11232c,public X-Google-Thread: fdb77,5f529c91be2ac930 X-Google-Attributes: gidfdb77,public X-Google-Thread: 1108a1,59ec73856b699922 X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,583275b6950bf4e6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-09 15:32:05 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: gautier_niouzes@hotmail.com (Gautier) Newsgroups: comp.lang.java.advocacy,comp.object,comp.lang.ada,misc.misc Subject: Re: Using Ada for device drivers? (Was: the Ada mandate, and why it collapsed and died) Date: 9 May 2003 15:32:05 -0700 Organization: http://groups.google.com/ Message-ID: <17cd177c.0305091432.640ccf32@posting.google.com> References: <9fa75d42.0304230424.10612b1a@posting.google.com> <416273D61ACF7FEF.82C1D1AC17296926.FF0BFD4934A03813@lp.airnews.net> <9fa75d42.0305010621.55e99deb@posting.google.com> <254c16a.0305011035.13133e8d@posting.google.com> <9fa75d42.0305011727.5eae0222@posting.google.com> <17cd177c.0305072114.24f04783@posting.google.com> <9fa75d42.0305090612.261d5a5c@posting.google.com> NNTP-Posting-Host: 80.218.95.176 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1052519525 11967 127.0.0.1 (9 May 2003 22:32:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 May 2003 22:32:05 GMT Xref: archiver1.google.com comp.lang.java.advocacy:63428 comp.object:63128 comp.lang.ada:37125 misc.misc:14056 Date: 2003-05-09T22:32:05+00:00 List-Id: > > [Ada attributes] > > ... > > [other Ada attributes] > > ... > > If I had to reproduce them each time I use them, it would sum > > up to a lot of time... and there are more interesting to do > > in life than reprogramming them. softeng: > Do you really need your own sub-range of integers > very often? Arrays with variable index ranges? > You must do a very different type of programming > from what I do. Did I mention "sub-range of integers" ? I did mention attributes (the things with that symbol: '). I use 'image, 'value, 'pos, 'val, 'range, 'length very often. Of course, you'll say "sour grapes", these are useless gadgets so easy to reproduce. I say they are very handy, bring clarity and along with subtypes and enumerated types spares nights with a debugger - life is too short for it, isn't it ? Here is a good bunch of these gadgets (in a device driver, BTW!) -> http://www.mysunrise.ch/users/gdm/e3d_html/multkeys__adb.htm ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!