comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Watch out Ada, here comes the new and "safe" C  language
Date: Tue, 26 Jun 2012 17:22:29 -0400
Date: 2012-06-26T17:22:29-04:00	[thread overview]
Message-ID: <wcczk7pwyy2.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: slsju7lfgekf2hqc3sq29lv12at6vgfe1p@invalid.netcom.com

Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:

> 	"Aiming" is the key word... According to the blog, the unsafe string
> manipulation functions are still part of the standard -- making it a
> matter of programmer discipline to avoid using them in favor of the
> newer "safer" routines.

Yeah, but it's worse than that.  Compiler warnings could remind people
to use the "safer" versions, but the "safer" routines aren't really
safe, because the programmer is responsible for keeping track of the
array length, and passing it in calls.

- Bob



  parent reply	other threads:[~2012-06-26 21:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-26 12:15 Watch out Ada, here comes the new and "safe" C language Nasser M. Abbasi
     [not found] ` <slsju7lfgekf2hqc3sq29lv12at6vgfe1p@invalid.netcom.com>
2012-06-26 21:22   ` Robert A Duff [this message]
2012-06-27 15:48     ` mjsilva
2012-06-27 17:08 ` gautier_niouzes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox