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 X-Google-Thread: 103376,b30bd69fa8f63cb2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-12 07:23:18 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: kanze@gabi-soft.fr Newsgroups: comp.lang.ada Subject: Re: C bug of the day Date: 12 Jun 2003 07:23:18 -0700 Organization: http://groups.google.com/ Message-ID: References: <1054751321.434656@master.nyc.kbcfp.com> NNTP-Posting-Host: 62.160.54.162 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1055427798 22262 127.0.0.1 (12 Jun 2003 14:23:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Jun 2003 14:23:18 GMT Xref: archiver1.google.com comp.lang.ada:39052 Date: 2003-06-12T14:23:18+00:00 List-Id: kcline17@hotmail.com (Kevin Cline) wrote in message news:... > Vinzent Hoefler wrote in message > news:... > > kanze@gabi-soft.fr wrote: > > > I'd rather have a language in which all of the defaults were > > >fundamentally safe, but with the freedom to override them if you > > >had special constraints, or even in cases where you came across a > > >case which the language authors hadn't considered. I don't know > > >such a language, however; it may exist somewhere, but if it does, > > >it certainly isn't very popular or wide spread. > > And that's been posted to comp.lang.ada? ;-) > Sorry, Ada doesn't solve this problem. Ada has no equivalent to the > C++ STL. So one less source of possible errors. > Ada is fine as long as you are happy to program using only arrays. > Beyond that, you are stuck searching the web for some public domain > components and hoping they have been debugged enough to be reliable, > or writing your own and hoping that you don't somehow screw up > new/unchecked deallocation. I don't know. I find using my propre collections far less error-prone than the STL. No iterators becoming invalid just because I happened to insert an element, for example. I use the STL because it is standard, not because it is a particularly good generic library. -- James Kanze GABI Software mailto:kanze@gabi-soft.fr Conseils en informatique orient�e objet/ Beratung in objektorientierter Datenverarbeitung 11 rue de Rambouillet, 78460 Chevreuse, France, T�l. : +33 (0)1 30 23 45 16