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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a92e43963a6b930f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!s9g2000yqd.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: N best things about Ada? Date: Fri, 16 Jul 2010 18:18:50 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <97691fd2-7411-4ccc-bc7b-290aca633cd5@z30g2000prg.googlegroups.com> NNTP-Posting-Host: 81.62.98.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1279329530 17784 127.0.0.1 (17 Jul 2010 01:18:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 17 Jul 2010 01:18:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s9g2000yqd.googlegroups.com; posting-host=81.62.98.139; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12448 Date: 2010-07-16T18:18:50-07:00 List-Id: OK, my list: First, the facts: 1) The type system: you can work most of the time with value types - as opposed to C/C++/C#. So you use accesses/pointers/references only when it makes sense. As a result objects live and die in synch with the scope where they are defined, (unless you need a longer lifespan, and then you are using an access). So, away with null references, dangling pointers, bad cloning surprises and memory leaks that even a good garbage collector has trouble to catch... 2) Orthogonality between the modularity (packages), the type system (includes the choice tagged or not), generics - and I miss some 3) Nesting: you can nest sub-programs and packages into other sub- programs and packages, saving much parameter passing 4) Expressions: you can have explicit expressions for any type, whetever its complexity On the taste side (so it's weak arguments: people may prefer the other way!): 5) Readable, fully-bracketed, intuitive, wysiwyg syntax 6) Errors tend to be detected more on the compile-time phase, so you can be more productive ______________________________________________________________ Gautier's Ada programming -- http://gautiersblog.blogspot.com/