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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: C# new features (v.7) Date: Sat, 17 Dec 2016 22:56:27 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <5f542dff-8dd0-49b8-8228-3ccc8248c57d@googlegroups.com> <276a2153-b81f-4e19-9615-530e798e5798@googlegroups.com> <1533893062.503569684.598007.laguest-archeia.com@nntp.aioe.org> <877f6y3lzo.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Sat, 17 Dec 2016 22:56:27 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="cae63de2f838b848b147b69b49401586"; logging-data="17784"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19S2ONmmv/JF+GQxo2BTYptyfhHugSIMAk=" User-Agent: slrn/0.9.9p1 (Linux) Cancel-Lock: sha1:cbIdTljtnGZ3utIC218T0jEyRgk= Xref: news.eternal-september.org comp.lang.ada:32908 Date: 2016-12-17T22:56:27+00:00 List-Id: On 2016-12-17, Robert A Duff wrote: > "Nasser M. Abbasi" writes: > >> On 12/17/2016 4:09 AM, Paul Rubin wrote: >> >>> Younger programmers (those who didn't grow up dealing with old slow >>> machines with little memory) generally use lower performance but more >>> convenient languages rather than C, Ada, etc. They're protected from >>> integer overflow by bignums, memory errors by bounds checking, >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> alloc/free errors by garbage collection, etc. >> >> Which one of these so called "modern" and "fun" languages >> that Younger programmers use has bounds checking built in? > > "bounds checking" means "array bounds checking". > Almost all languages have that (C being a notable exception). > And also C++ where you don't get it unless you go out of your way to use an unexpected (but safe) method as the usual "[]" is not bounds checked in at least the parts of the C++ standard library which I have used. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world