Date: Sun, 5 Mar 2000 06:53:29 +0600 (LKT) From: Kalum Somaratna aka Grendel X-Sender: root AT darkstar DOT grendel DOT net To: djgpp AT delorie DOT com Subject: Re: C++, what is it (Was: Re: Fastest bitblt?) In-Reply-To: <38C1A55B.FE20B023@maths.unine.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 5 Mar 2000, Gautier wrote: > Kalum Somaratna aka Grendel wrote: > > > You are correct Damien, but what I really want to comment about was that > > c++ is used more often to add things like array bounds checking, non zero > > based arrays, which should have been part of the original language, rather > > than using c++ to extend and design better programs.. > > > If you consider null terminated strings for example in C, I bet that this > > simple "feature" is the root cause for hundreds of errors in existing > > programs. > > Don't dream too loud of these original Ada features! After all the whole time > spent debugging null-terminated strings is a good thing for employement in CS > area. Yeah it sure is good from a programmers perspective (you never will go hungry as long as C has this feature ;-) ), but it sure as h**l isn't funny when you are a user and your program GPF's due to some programmer making a common mistake in not thinking about the null terminated part of the string. BTW I find that all programmers no matter whatever there skill level maybe are prone to this kind of error. I for one have made unwitting mistakes because of this null termination buisness and I'm sure there are many others out there whom this has happened to at least once.. Grendel Hi, I'm a signature virus. plz set me as your signature and help me spread :)