comp.lang.ada
 help / color / mirror / Atom feed
From: Optikos <optikos@verizon.net>
Subject: Re: can ada do this?
Date: Fri, 17 May 2019 13:36:39 -0700 (PDT)
Date: 2019-05-17T13:36:39-07:00	[thread overview]
Message-ID: <53f9dc87-5153-4018-8629-429e991912b7@googlegroups.com> (raw)
In-Reply-To: <8ffb8275-a360-430d-aa96-394738328e10@googlegroups.com>

On Friday, May 17, 2019 at 9:42:02 AM UTC-5, gautier...@hotmail.com wrote:
> > Some Adaphiles yearn for a more-pandering-to-popularity AdaNG (Ada next generation) that, say, has
> > braces instead of BEGIN END, and numerous other shallow “features”.
> 
> The braces replace exactly the BEGIN END pair in *Pascal* (they are needed for framing more than one
> instruction). In Ada the BEGIN END pair is only for subprograms, or blocks (with or without DECLARE)
> but the IFs, LOOPs and CASEs don't need it. Basically groups of instructions don't need to be framed in
> Ada, so where would you put your braces ?... In the end you would have a mess with some braces and
> some "end loop" etc.

Answer:  exactly where C-family languages put them, as explained below.

Many of the Adaphiles who yearn for an AdaNG-with-braces to increase Ada's popularity as a more syntactically-C-family language would say that Ada's current syntax of branching constructs would be jettisoned when the {}s from C-family languages are adopted, so that AdaNG's branching constructs would be more C-esque.  They would say that now that C-family languages are commonplace for more than a generation, any attempt at readability that deviates from the C-family norm is itself less readable to these modern C-indoctrinated people.

(I've got news for those folk:  people are not rejecting Ada due to minor differences in the syntax of the Algol60-esque branching constructs.)


  reply	other threads:[~2019-05-17 20:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-10 15:05 can ada do this? Rabican
2019-05-10 16:45 ` Shark8
2019-05-10 17:53   ` Optikos
2019-05-13  6:02   ` Maciej Sobczak
2019-05-13  8:21     ` Niklas Holsti
2019-05-17  1:57     ` Rabican
2019-05-17 22:59       ` Shark8
2019-05-17  1:58   ` Rabican
2019-05-17  5:39     ` Maciej Sobczak
2019-05-17 13:52       ` Optikos
2019-05-17 14:42         ` gautier_niouzes
2019-05-17 20:36           ` Optikos [this message]
2019-05-18  0:42           ` Dennis Lee Bieber
2019-05-29 18:22       ` Rabican
2019-05-10 18:00 ` Per Sandberg
2019-05-10 23:56 ` Stephen Leake
replies disabled

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