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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,583275b6950bf4e6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-10 11:01:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!213.200.246.247!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Using Ada for device drivers? (Was: the Ada mandate, and why it collapsed and died) Date: Sat, 10 May 2003 20:00:41 +0200 Organization: JeLlyFish software Message-ID: References: <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> <254c16a.0305091127.42ec7b21@posting.google.com> <9fa75d42.0305100937.737d93db@posting.google.com> NNTP-Posting-Host: 213.200.246.247 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: fu-berlin.de 1052589695 20983102 213.200.246.247 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:37156 Date: 2003-05-10T20:00:41+02:00 List-Id: softeng3456@netscape.net (soft-eng) wrote: >Yes. OO solves the problem using a new model. And introduces new ones as well... instead of tracing a function with the debugger like one did in the old days, we now look at an inheritance graph and try to guess which method may do the unexpected thing the customer encountered. :) > Ada solves >the problem by collecting numerous small solutions. Not exactly. Ada95 has complete OO, although its syntax might be a little bit, mmh... unusual[0] (but this has even other advantages) - but it still has all the type information features that makes portable and dynamic (in the sense of requirements changes) programming much more easier. I may state John Barnes from his "High Integrity Software" talking about the lack of enumeration types in Java (but this applies to C++ as well because the enumeration model there is still just based on integer constants): "The wave of enthusiasm for Object Orientation (OO) in all its dynamic glory (which indeed has its uses but by its very dynamic nature can create difficult problems) appears to have caused other established language features to be neglected with the consequence that many programmers no longer have the benefits of simple language-based debugging aids." I think, he's right. My question would be: What use is OOP when the only objects I can have are chars, ints and doubles? [0] Well, let's talk about the syntax of Smalltalk, then... ;-)=20 Vinzent. --=20 Parents strongly cautioned -- this posting is intended for mature audiences over 18. It may contain some material that many parents would not find suitable for children and may include intense violence, sexual situations, coarse language and suggestive dialogue.