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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.134.49 with SMTP id r37mr100030yhi.14.1402584484557; Thu, 12 Jun 2014 07:48:04 -0700 (PDT) X-Received: by 10.140.18.194 with SMTP id 60mr17923qgf.36.1402584484529; Thu, 12 Jun 2014 07:48:04 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!i13no65529qae.1!news-out.google.com!a8ni2227qaq.1!nntp.google.com!i13no65526qae.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 12 Jun 2014 07:48:04 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.145.50.10; posting-account=3_reEwoAAAC163IAIrx427KYmwahFuh9 NNTP-Posting-Host: 83.145.50.10 References: <1402308235.2520.153.camel@pascal.home.net> <85ioo9yukk.fsf@stephe-leake.org> <9qednXOIGNDuLQXORVn_vwA@giganews.com> <1872904482424209024.314619laguest-archeia.com@nntp.aioe.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <810507a4-427e-42bb-a468-e5939a4470db@googlegroups.com> Subject: Re: a new language, designed for safety ! From: =?ISO-8859-1?Q?bj=F6rn_lundin?= Injection-Date: Thu, 12 Jun 2014 14:48:04 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 3841 Xref: number.nntp.dca.giganews.com comp.lang.ada:186861 Date: 2014-06-12T07:48:04-07:00 List-Id: Den torsdagen den 12:e juni 2014 kl. 13:24:30 UTC+2 skrev Peter Chapin: > ... but my point is really that I'm not convinced Ada > is an ideal language for high level applications in general. To me it > feels like a low level language, similar in many ways to C, although C++ > would probably be a more appropriate comparable. >=20 It is an ideal language when you want to write high level systems, like Warehouse Management Systems. You work with Database, transactions to ERP systems like orders, order lines, pick lines etc. The concept of body/spec/separates makes it VERY useful in larger project t= eams. The type system makes it SO much easier to keep fundamental changes to the = system fairly simple. Like introduce another order status somewhere between= 'opened' and 'closed' and actually catch the locations in the code that ne= eds to be changed. Or introducing another field in a database table. The design goal to make the language READABLE is also a great help, when customer wants tweaking after 10-15 years. > Consider Ada's arrays. They are fairly primitive and close to the > machine.=20 And simple to use, read and write. A maintainer's dream. >Compare them with, say, lists in Haskell which are fully > dynamic by default and come endowed with a powerful list comprehension > sublanguage that makes generating and manipulating lists very simple. But usually costing a lot in readability. After a couple of years, the code is difficult to read/maintain. =20 > Ada can get the job done, of course, but it entails withing various > packages and writing explicit loops, conditional statements, etc. Again, a maintainers wet dream. When the original coder left the company 10= years ago, it is nice to understand what he/she did. =20 > Ada's design is excellent for a systems language. I much prefer using it > over C (and even C++, although modern C++ is nice too in many ways) in > systems applications. However, for "high level" applications... there > are other languages out there that I think are better. Well everyone for his own opinion. Personally, I see NO better language to implement reliable, maintainable systems. And If Ada was available for iOS, I would definitively use it /Bj=F6rn