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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e80a1497a689d8a5 X-Google-Attributes: gid103376,public From: aidan@skinner.demon.co.uk (Aidan Skinner) Subject: Re: Ammo-zilla Date: 1999/10/24 Message-ID: #1/1 X-Deja-AN: 540081158 X-NNTP-Posting-Host: skinner.demon.co.uk:158.152.76.219 References: <38120FAF.945ADD7D@hso.link.com> <7uutgd$87h$1@nnrp1.deja.com> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 940800353 nnrp-07:9902 NO-IDENT skinner.demon.co.uk:158.152.76.219 Organization: None User-Agent: slrn/0.9.5.4 (UNIX) Reply-To: aidan@skinner.demon.co.uk Newsgroups: comp.lang.ada Date: 1999-10-24T00:00:00+00:00 List-Id: On Sun, 24 Oct 1999 12:19:26 GMT, Robert Dewar wrote: >Now that's an interesting comment, because to me C++ and Ada >are identical in this particular department, can you explain >why you think Ada is better wrt memory leaks? I think it's probably a personal issue, and one of style more than anything else. In C++ I tend to use {pointers|access} types somewhat heavily, in Ada it's very rare that I do so. I'm also a huge fan of Controlled types in Ada, I really like the way that they work and use them extensively, I find the use of Finalize etc to be more intuitive than overloading -> (this is *definately* a style thing, I know). I also find it far easier to be disciplined in my code general with Ada than with C++, although that is almost certainly a style thing (I have similar problems with Java but not as badly, I think it's the syntax[1]). YMMV etc. - Aidan [1] I grew up with Pascal[2], I don't like the way that C like languages look... [2] And Sinclair Spectrum BASIC -- "I say we just bury him and eat dessert" http://www.skinner.demon.co.uk/aidan/