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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,924aad49bcf9e4e7 X-Google-Attributes: gid103376,public From: James O'Connor Subject: Re: Cumbersome Polymorphism Date: 1997/01/25 Message-ID: <32EA9AC8.3142@jmpstart.com>#1/1 X-Deja-AN: 212224293 references: <32E7ABE8.3BF3@eurocontrol.fr> <5c9put$48t@hetre.wanadoo.fr> to: Rosen.Adalog@wanadoo.fr content-type: text/plain; charset=us-ascii organization: JumpStart Systems mime-version: 1.0 reply-to: joconnor@jmpstart.com newsgroups: comp.lang.ada x-mailer: Mozilla 3.01Gold (Win95; I) Date: 1997-01-25T00:00:00+00:00 List-Id: J-P. Rosen wrote: [much deleted] > >Before using Ada I used Smalltalk. > >A Smalltalk variable can hold an instance of any class. > >Of course, this is possible because a Smalltalk variable is just > >a pointer to dynamically allocated storage. > >The important point though is that the pointers and the problems of > >allocation and deallocation are hidden from the Smalltalk programmer, > >while the Ada programmer is obliged to be (painfully) aware of them > >much of the time. > You said it: the smalltalk solution is the same as Ada. The only > difference is the presence of absence of a garbage collector. Well, > this is an other thread of discussion... > > >I am left with the feeling that for object oriented progamming Ada 95 > >is heavily cerebral, not to say cumbersome. > A bit of quick conclusion... Depends on your point of view. If your background is Ada83 or C++ or some other language han maybe Ada95 looks great. If you backgropund is Smalltalk than Ada95 feels very cumbersome. It's a matter of perspective. > > >There are certainly many large, highly reliable or safety-critical > >applications where it should be the language of choice. > >And at the other end of the spectrum Smalltalk is probably preferable > >for small rapid prototyping. > I agree with that I wouldn't :) Most commercial Smalltalk environments are very large and as such, are not condusive to making 'small' prototypes. Rapid prototyping and RAD, yes. Small, no. Most Smalltalk environments are actually designed for building large scale (distributed) systems. Using something like VisualAge or VisualWorks for small, quick, knock-off protoypes is a waste of money and potential. > +------------------------------------o-------------------------------------+ > | J-P. Rosen | Rosen.Adalog@wanadoo.fr | > | ADALOG - 27 avenue de Verdun | Tel: +33 1 46 45 51 12 | > | 92170 Vanves - FRANCE | Fax: +33 1 46 45 52 49 | > +------------------------------------o-------------------------------------+ -- James O'Connor -------------------------------------- joconnor@jmpstart.com http://www.jmpstart.com --------------------------------------