Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

There are always alternatives. -- Spock, "The Galileo Seven", stardate 2822.3


devel / comp.lang.ada / who needs types? Types makes code ugly.

SubjectAuthor
* who needs types? Types makes code ugly.Nasser M. Abbasi
+* Re: who needs types? Types makes code ugly.Doctor Who
|`* Re: who needs types? Types makes code ugly.Dmitry A. Kazakov
| +* Re: who needs types? Types makes code ugly.Nasser M. Abbasi
| |`- Re: who needs types? Types makes code ugly.Dmitry A. Kazakov
| +- Re: who needs types? Types makes code ugly.Stéphane Rivière
| `- Re: who needs types? Types makes code ugly.Jerry
+- Re: who needs types? Types makes code ugly.Jeffrey R.Carter
+* Re: who needs types? Types makes code ugly.ldries46
|`* Re: who needs types? Types makes code ugly.Ben
| `* Re: who needs types? Types makes code ugly.John Perry
|  `* Re: who needs types? Types makes code ugly.Ben
|   `* Re: who needs types? Types makes code ugly.Dennis Lee Bieber
|    `* Re: who needs types? Types makes code ugly.Ben
|     `* Re: who needs types? Types makes code ugly.Niklas Holsti
|      +- Re: who needs types? Types makes code ugly.John Perry
|      +- Re: who needs types? Types makes code ugly.Ben
|      `* Re: who needs types? Types makes code ugly.Randy Brukardt
|       +- What's new in Ada 2022? (was: Re: who needs types? Types makes code ugly.)Dirk Craeynest
|       `* Re: who needs types? Types makes code ugly.Wesley Pan
|        +- Re: who needs types? Types makes code ugly.Paul Rubin
|        `* Re: who needs types? Types makes code ugly.Randy Brukardt
|         `* Re: who needs types? Types makes code ugly.Dirk Craeynest
|          +- Re: who needs types? Types makes code ugly.Paul Rubin
|          `- Re: who needs types? Types makes code ugly.Randy Brukardt
`- Re: who needs types? Types makes code ugly.Keith Thompson

Pages:12
who needs types? Types makes code ugly.

<t79ab6$a4v$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8333&group=comp.lang.ada#8333

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!PjbNDCau3eS6e8nglA5Amg.user.46.165.242.75.POSTED!not-for-mail
From: nma@12000.org (Nasser M. Abbasi)
Newsgroups: comp.lang.ada
Subject: who needs types? Types makes code ugly.
Date: Wed, 1 Jun 2022 22:21:08 -0500
Organization: Aioe.org NNTP Server
Message-ID: <t79ab6$a4v$1@gioia.aioe.org>
Reply-To: nma@12000.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="10399"; posting-host="PjbNDCau3eS6e8nglA5Amg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Nasser M. Abbasi - Thu, 2 Jun 2022 03:21 UTC

So Ada had it wrong all the time it seems. From

https://python.land/python-tutorial

------------
In a strongly typed language, you need to specify the exact
type of each variable, like String, int, and float. It
gets even uglier when objects are involved.

Now let’s look at Python variables. In Python, we can do
exactly the same without types:

my_name = "Erik"
my_age = 37
my_salary = 1250.70

As you can see, the Python variant is a lot cleaner and easier on the eyes!
----------------------

And about possible error, they defend this by saying:

--------------------------
In addition, you’ll find out soon enough during testing
and fix the error before the software ever goes to production.
---------------------------

So, I think all what Ada needs is to simply remove all those
ugly types from the language and it will become popular
like Python is now :)

--Nasser

Re: who needs types? Types makes code ugly.

<1hrg9hd16j7hv7049g01dfjrdmhee5p2ga@4ax.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8335&group=comp.lang.ada#8335

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: doc@tardis.org (Doctor Who)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Thu, 02 Jun 2022 10:00:42 +0200
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <1hrg9hd16j7hv7049g01dfjrdmhee5p2ga@4ax.com>
References: <t79ab6$a4v$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="7b02cf1f3a0e7ac7a5d73056e64e7051";
logging-data="2344"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5v/4KwINh6dJYlz4Il6v7"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:Q1V/OjMLTyPSc5fhakR2g1qDBns=
 by: Doctor Who - Thu, 2 Jun 2022 08:00 UTC

On Wed, 1 Jun 2022 22:21:08 -0500, "Nasser M. Abbasi" <nma@12000.org>
wrote:

>So Ada had it wrong all the time it seems. From
>
>https://python.land/python-tutorial
>
>------------
>In a strongly typed language, you need to specify the exact
>type of each variable, like String, int, and float. It
>gets even uglier when objects are involved.
>
>Now let’s look at Python variables. In Python, we can do
>exactly the same without types:
>
>my_name = "Erik"
>my_age = 37
>my_salary = 1250.70
>
>As you can see, the Python variant is a lot cleaner and easier on the eyes!
>----------------------
>
>And about possible error, they defend this by saying:
>
>--------------------------
>In addition, you’ll find out soon enough during testing
>and fix the error before the software ever goes to production.
>---------------------------
>
>So, I think all what Ada needs is to simply remove all those
>ugly types from the language and it will become popular
>like Python is now :)
>
>--Nasser

nonsense.

Re: who needs types? Types makes code ugly.

<t79ss1$ch9$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8336&group=comp.lang.ada#8336

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!siG8trSPtxwtkBCOZpBn8A.user.46.165.242.91.POSTED!not-for-mail
From: mailbox@dmitry-kazakov.de (Dmitry A. Kazakov)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Thu, 2 Jun 2022 10:37:21 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t79ss1$ch9$1@gioia.aioe.org>
References: <t79ab6$a4v$1@gioia.aioe.org>
<1hrg9hd16j7hv7049g01dfjrdmhee5p2ga@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="12841"; posting-host="siG8trSPtxwtkBCOZpBn8A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Dmitry A. Kazakov - Thu, 2 Jun 2022 08:37 UTC

On 2022-06-02 10:00, Doctor Who wrote:
> On Wed, 1 Jun 2022 22:21:08 -0500, "Nasser M. Abbasi" <nma@12000.org>
> wrote:
>
>> So Ada had it wrong all the time it seems. From
>>
>> https://python.land/python-tutorial
>>
>> ------------
>> In a strongly typed language, you need to specify the exact
>> type of each variable, like String, int, and float. It
>> gets even uglier when objects are involved.
>>
>> Now let’s look at Python variables. In Python, we can do
>> exactly the same without types:
>>
>> my_name = "Erik"
>> my_age = 37
>> my_salary = 1250.70
>>
>> As you can see, the Python variant is a lot cleaner and easier on the eyes!
>> ----------------------
>>
>> And about possible error, they defend this by saying:
>>
>> --------------------------
>> In addition, you’ll find out soon enough during testing
>> and fix the error before the software ever goes to production.
>> ---------------------------
>>
>> So, I think all what Ada needs is to simply remove all those
>> ugly types from the language and it will become popular
>> like Python is now :)
>>
>> --Nasser
>
> nonsense.

A more deep analysis begs the question, why don't we remove all that
ugly variables and the code itself?

Programming by the emoji is the future!

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Re: who needs types? Types makes code ugly.

<t7a27m$fgr$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8338&group=comp.lang.ada#8338

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!PjbNDCau3eS6e8nglA5Amg.user.46.165.242.75.POSTED!not-for-mail
From: nma@12000.org (Nasser M. Abbasi)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Thu, 2 Jun 2022 05:08:53 -0500
Organization: Aioe.org NNTP Server
Message-ID: <t7a27m$fgr$1@gioia.aioe.org>
References: <t79ab6$a4v$1@gioia.aioe.org>
<1hrg9hd16j7hv7049g01dfjrdmhee5p2ga@4ax.com> <t79ss1$ch9$1@gioia.aioe.org>
Reply-To: nma@12000.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="15899"; posting-host="PjbNDCau3eS6e8nglA5Amg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Nasser M. Abbasi - Thu, 2 Jun 2022 10:08 UTC

On 6/2/2022 3:37 AM, Dmitry A. Kazakov wrote:

> A more deep analysis begs the question, why don't we remove all that
> ugly variables and the code itself?
>
> Programming by the emoji is the future!
>

I am afraid others have beat you to this brilliant idea !

https://levelup.gitconnected.com/5-most-amusing-programming-languages-you-can-code-using-emojis-4bfd43bc7614

"Well, smart and talented people out there have imagined and
developed full-fledged programming languages that we can use to code
with emojis and emoticons."

I still do not know if they have strong types when using Emoji languages
or not. May be you can not add a smily face to sad face? That will be
type error at compile time?

--Nasser

Re: who needs types? Types makes code ugly.

<t7a40q$16b7$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8339&group=comp.lang.ada#8339

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!siG8trSPtxwtkBCOZpBn8A.user.46.165.242.91.POSTED!not-for-mail
From: mailbox@dmitry-kazakov.de (Dmitry A. Kazakov)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Thu, 2 Jun 2022 12:39:22 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t7a40q$16b7$1@gioia.aioe.org>
References: <t79ab6$a4v$1@gioia.aioe.org>
<1hrg9hd16j7hv7049g01dfjrdmhee5p2ga@4ax.com> <t79ss1$ch9$1@gioia.aioe.org>
<t7a27m$fgr$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="39271"; posting-host="siG8trSPtxwtkBCOZpBn8A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Dmitry A. Kazakov - Thu, 2 Jun 2022 10:39 UTC

On 2022-06-02 12:08, Nasser M. Abbasi wrote:

> I still do not know if they have strong types when using Emoji languages
> or not. May be you can not add a smily face to sad face? That will be
> type error at compile time?

Emoji programming is emotional paradigm. You stuck in the old hateful
and toxic imperative paradigm of adding stuff... (:-))

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Re: who needs types? Types makes code ugly.

<t7a4ft$slr$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8340&group=comp.lang.ada#8340

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: spam.jrcarter.not@spam.acm.org.not (Jeffrey R.Carter)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Thu, 2 Jun 2022 12:47:25 +0200
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <t7a4ft$slr$1@dont-email.me>
References: <t79ab6$a4v$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 2 Jun 2022 10:47:25 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a40b249abca4de788e83216183e0bcc1";
logging-data="29371"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18C/ABekJsRRNU4bqKCQV4WB8+/x8IM9vs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:2rC5FVLc8Vjg9O9OLxthLT6iaqM=
In-Reply-To: <t79ab6$a4v$1@gioia.aioe.org>
Content-Language: en-US
 by: Jeffrey R.Carter - Thu, 2 Jun 2022 10:47 UTC

On 2022-06-02 05:21, Nasser M. Abbasi wrote:
> In addition, you’ll find out soon enough during testing
> and fix the error before the software ever goes to production.

Proven beyond a shadow of a doubt by the total absence of security
vulnerabilities in production S/W.

--
Jeff Carter
"If you think you got a nasty taunting this time,
you ain't heard nothing yet!"
Monty Python and the Holy Grail
23

Re: who needs types? Types makes code ugly.

<nnd$1dfb707b$1866b51a@6cddbe3899d992f0>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8341&group=comp.lang.ada#8341

  copy link   Newsgroups: comp.lang.ada
Date: Thu, 2 Jun 2022 13:47:14 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1
Subject: Re: who needs types? Types makes code ugly.
Content-Language: en-GB
Newsgroups: comp.lang.ada
References: <t79ab6$a4v$1@gioia.aioe.org>
From: bertus.dries@planet.nl (ldries46)
In-Reply-To: <t79ab6$a4v$1@gioia.aioe.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <nnd$1dfb707b$1866b51a@6cddbe3899d992f0>
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr1.eu1.usenetexpress.com!94.232.112.244.MISMATCH!feed.abavia.com!abe004.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 9
Injection-Date: Thu, 02 Jun 2022 13:47:14 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: ldries46 - Thu, 2 Jun 2022 11:47 UTC

As someone who has been programming since 1966 I used several different
languages, Algol 60, Fortran, Basic, C/C++ and Ada, I like using strong
types because the most ugly faults you can create are the ones where you
by accident use different types in the input or the output of a formula.
Such a fault can work through the complete program an result in very
tough error searching. Even when the basic failure is using an integer
instead of an real.

Re: who needs types? Types makes code ugly.

<t7adio$9bn$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8342&group=comp.lang.ada#8342

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: stef@genesix.org (Stéphane Rivière)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Thu, 2 Jun 2022 15:22:32 +0200
Organization: La Maison
Lines: 5
Message-ID: <t7adio$9bn$1@dont-email.me>
References: <t79ab6$a4v$1@gioia.aioe.org>
<1hrg9hd16j7hv7049g01dfjrdmhee5p2ga@4ax.com> <t79ss1$ch9$1@gioia.aioe.org>
Reply-To: stef@genesix.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 2 Jun 2022 13:22:32 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="221d3097a4c4fbdb2e9c6b3f1756cc93";
logging-data="9591"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18z/PBxmyMIr0/dma2Y0bjSjKPRYHwdHoA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:EmItOFb6A/835vpkyLsBskiBtU8=
In-Reply-To: <t79ss1$ch9$1@gioia.aioe.org>
Content-Language: fr
 by: Stéphane Rivière - Thu, 2 Jun 2022 13:22 UTC

> Programming by the emoji is the future!

I second that.

Re: who needs types? Types makes code ugly.

<87wndzt8f1.fsf@bsb.me.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8343&group=comp.lang.ada#8343

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Thu, 02 Jun 2022 16:02:58 +0100
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <87wndzt8f1.fsf@bsb.me.uk>
References: <t79ab6$a4v$1@gioia.aioe.org>
<nnd$1dfb707b$1866b51a@6cddbe3899d992f0>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="ea953ea4e13a7153dd12a20c97dd3fa2";
logging-data="18220"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jIu+tkmvRzyhhKU7Ao5XyC17+YiQbJcI="
Cancel-Lock: sha1:ITFWHHw/PdNAG8QM7tXjtnXQ0Xk=
sha1:t2YTHBl2BKFjprXA1q/8V0i7e9M=
X-BSB-Auth: 1.74cfa76f12e8dba2d338.20220602160258BST.87wndzt8f1.fsf@bsb.me.uk
 by: Ben - Thu, 2 Jun 2022 15:02 UTC

ldries46 <bertus.dries@planet.nl> writes:

> As someone who has been programming since 1966 I used several
> different languages, Algol 60, Fortran, Basic, C/C++ and Ada, I like
> using strong types because the most ugly faults you can create are the
> ones where you by accident use different types in the input or the
> output of a formula.

The terms being using in this thread might need to tightened up a bit
because I think you are talking about strong /static/ typing.

Python is strongly typed (though exactly how "strong" is debatable) but
the checking is at run-time, so you have to rely on testing rather than
the compiler. (I don't know enough about Python's new static type
syntax to know how strong that is, but it's optional anyway.)

Also, the OP is talking about removing all those messy types, and that's
not necessarily the same as removing type checking, either static type
checking or at run-time. Haskell, for example, has strong static type
checking, but a lot of Haskell is written without ever using a type
because of the language's type inference mechanism.

--
Ben.

Re: who needs types? Types makes code ugly.

<87h753rn3n.fsf@nosuchdomain.example.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8344&group=comp.lang.ada#8344

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Thu, 02 Jun 2022 10:28:44 -0700
Organization: None to speak of
Lines: 37
Message-ID: <87h753rn3n.fsf@nosuchdomain.example.com>
References: <t79ab6$a4v$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="7dd4c2691fec067ec315f296d0bc9541";
logging-data="15517"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7cuzirOrOO6Ensf8EegDt"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:ZnmtzmQV4ZjYHT2BoHOiuq+oF28=
sha1:KM+dfUZgOjj2x1eA+BAIdwvnqwE=
 by: Keith Thompson - Thu, 2 Jun 2022 17:28 UTC

"Nasser M. Abbasi" <nma@12000.org> writes:
> So Ada had it wrong all the time it seems. From
>
> https://python.land/python-tutorial
>
> ------------
> In a strongly typed language, you need to specify the exact
> type of each variable, like String, int, and float. It
> gets even uglier when objects are involved.
>
> Now let’s look at Python variables. In Python, we can do
> exactly the same without types:
>
> my_name = "Erik"
> my_age = 37
> my_salary = 1250.70
>
> As you can see, the Python variant is a lot cleaner and easier on the eyes!
> ----------------------
>
> And about possible error, they defend this by saying:
>
> --------------------------
> In addition, you’ll find out soon enough during testing
> and fix the error before the software ever goes to production.
> ---------------------------

That's just one tutorial. It likely doesn't reflect the views of most
Python programmers. The "python.land" site has no official connection

And for what it's worth, Python 3.5 added support for "type hints".
https://docs.python.org/3/library/typing.html

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

Re: who needs types? Types makes code ugly.

<09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8345&group=comp.lang.ada#8345

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a37:343:0:b0:6a6:7895:8eaf with SMTP id 64-20020a370343000000b006a678958eafmr3709906qkd.493.1654207857981;
Thu, 02 Jun 2022 15:10:57 -0700 (PDT)
X-Received: by 2002:a81:7c45:0:b0:300:2f8c:7cf2 with SMTP id
x66-20020a817c45000000b003002f8c7cf2mr7889112ywc.255.1654207857634; Thu, 02
Jun 2022 15:10:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 2 Jun 2022 15:10:57 -0700 (PDT)
In-Reply-To: <87wndzt8f1.fsf@bsb.me.uk>
Injection-Info: google-groups.googlegroups.com; posting-host=73.121.127.66; posting-account=JSxOkAoAAADa00TJoz2WZ_46XrZCdXeS
NNTP-Posting-Host: 73.121.127.66
References: <t79ab6$a4v$1@gioia.aioe.org> <nnd$1dfb707b$1866b51a@6cddbe3899d992f0>
<87wndzt8f1.fsf@bsb.me.uk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com>
Subject: Re: who needs types? Types makes code ugly.
From: devotus@yahoo.com (John Perry)
Injection-Date: Thu, 02 Jun 2022 22:10:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2329
 by: John Perry - Thu, 2 Jun 2022 22:10 UTC

On Thursday, June 2, 2022 at 10:03:00 AM UTC-5, Ben wrote:
> ldries46 <bertus...@planet.nl> writes:
>
> (I don't know enough about Python's new static type
> syntax to know how strong that is, but it's optional anyway.)

I think you mean "type hints"? The compiler doesn't check even when you specify the types. The typing is available for those who want to use a 3rd party tool to do "stuff" with it. See the note at the top of this page: https://docs.python.org/3/library/typing.html

The Python runtime does not enforce function and variable type annotations.
They can be used by third party tools such as type checkers, IDEs, linters, etc.

> Haskell, for example, has strong static type
> checking, but a lot of Haskell is written without ever using a type
> because of the language's type inference mechanism.

Correct me if I'm wrong, but do you mean "without ever *specifying* a type"? Several recent languages have taken this up, including Kotlin and Rust, though you have to specify some types.

Even Ada 2022 offers it with the "renames" keyword.

regards
john perry

Re: who needs types? Types makes code ugly.

<87fskmty0c.fsf@bsb.me.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8346&group=comp.lang.ada#8346

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Fri, 03 Jun 2022 01:02:27 +0100
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <87fskmty0c.fsf@bsb.me.uk>
References: <t79ab6$a4v$1@gioia.aioe.org>
<nnd$1dfb707b$1866b51a@6cddbe3899d992f0> <87wndzt8f1.fsf@bsb.me.uk>
<09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="bf467813db502b3686b40d5fd9202a72";
logging-data="8256"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eyoAvui0xsxfmSdFidxptKF8iwZrAiq0="
Cancel-Lock: sha1:Emy7DHkqcqBIICwILKN5M/O02UQ=
sha1:nP/g0H4PEUJs4ccj6WSBqBbZMg8=
X-BSB-Auth: 1.ca06e6ceb6907e125c7d.20220603010227BST.87fskmty0c.fsf@bsb.me.uk
 by: Ben - Fri, 3 Jun 2022 00:02 UTC

John Perry <devotus@yahoo.com> writes:

> On Thursday, June 2, 2022 at 10:03:00 AM UTC-5, Ben wrote:
>> ldries46 <bertus...@planet.nl> writes:
>>
>> (I don't know enough about Python's new static type
>> syntax to know how strong that is, but it's optional anyway.)
>
> I think you mean "type hints"? The compiler doesn't check even when
> you specify the types. The typing is available for those who want to
> use a 3rd party tool to do "stuff" with it. See the note at the top of
> this page: https://docs.python.org/3/library/typing.html

Thanks. As I said, I haven't looked at this.

>> Haskell, for example, has strong static type
>> checking, but a lot of Haskell is written without ever using a type
>> because of the language's type inference mechanism.
>
> Correct me if I'm wrong, but do you mean "without ever *specifying* a
> type"?

"Use" was not at all the right word since writing 1+2 obviously "uses"
types, but I don't mean specify either since types can be specified
simply by writing literals like "abc". I should have said something
more technical like "without writing any type signatures".

> Several recent languages have taken this up, including Kotlin
> and Rust, though you have to specify some types.

Yes, and even C++.

> Even Ada 2022 offers it with the "renames" keyword.

I don't know much about Ada newer than about 1990. I'll take a look...

--
Ben.

Re: who needs types? Types makes code ugly.

<l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8347&group=comp.lang.ada#8347

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 02 Jun 2022 22:37:50 -0500
From: wlfraed@ix.netcom.com (Dennis Lee Bieber)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Thu, 02 Jun 2022 23:37:51 -0400
Organization: IISS Elusive Unicorn
Message-ID: <l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com>
References: <t79ab6$a4v$1@gioia.aioe.org> <nnd$1dfb707b$1866b51a@6cddbe3899d992f0> <87wndzt8f1.fsf@bsb.me.uk> <09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com> <87fskmty0c.fsf@bsb.me.uk>
User-Agent: ForteAgent/8.00.32.1272
X-No-Archive: yes
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 13
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-sJ1Bn070NzpcAKAUJ+Xyyi9lKQZePw2B7IJGeO0id/u3cmQqiQA6T/0gBvIqmkWwWjLAcL4samSwhaY!5eO6e7jPo6j7oIPMi7N9M2TojP6EW7RVQHBR1YhIWWTijTl4P1heFKKn9kD2UzF5nWNkRiJB
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1749
 by: Dennis Lee Bieber - Fri, 3 Jun 2022 03:37 UTC

On Fri, 03 Jun 2022 01:02:27 +0100, Ben <ben.usenet@bsb.me.uk> declaimed
the following:
>
>I don't know much about Ada newer than about 1990. I'll take a look...

My condolences -- taken literally, that means you are working with
Ada-83 (ANSI/Mil-Std 1815A -- later ISO-8652:1987). The first significant
update was Ada-95 (and Air Force funded original GNAT).

--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

Re: who needs types? Types makes code ugly.

<871qw5ty1t.fsf@bsb.me.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8349&group=comp.lang.ada#8349

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Fri, 03 Jun 2022 19:13:50 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <871qw5ty1t.fsf@bsb.me.uk>
References: <t79ab6$a4v$1@gioia.aioe.org>
<nnd$1dfb707b$1866b51a@6cddbe3899d992f0> <87wndzt8f1.fsf@bsb.me.uk>
<09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com>
<87fskmty0c.fsf@bsb.me.uk>
<l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="bf467813db502b3686b40d5fd9202a72";
logging-data="15441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wfeBrclA4Mne7p2XOe8fN3CGe6sBKFT4="
Cancel-Lock: sha1:GHWOIAU7dPUJWP+nJ16y6k6N7wc=
sha1:Z4gAYJ8TjYXnAssE4Gv14tYUjv8=
X-BSB-Auth: 1.376282965045f1d97cdd.20220603191350BST.871qw5ty1t.fsf@bsb.me.uk
 by: Ben - Fri, 3 Jun 2022 18:13 UTC

Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:

> On Fri, 03 Jun 2022 01:02:27 +0100, Ben <ben.usenet@bsb.me.uk> declaimed
> the following:
>>
>>I don't know much about Ada newer than about 1990. I'll take a look...
>
> My condolences

Thank, but I'm fine. Knowing was not intended to imply forced to use.

> -- taken literally, that means you are working with
> Ada-83 (ANSI/Mil-Std 1815A -- later ISO-8652:1987). The first significant
> update was Ada-95 (and Air Force funded original GNAT).

That was the only Ada I knew, though I knew about the updates of
course. Couldn't find any reference to type inference though. Is there
a good place to go for a "summary of changes" between standards?

--
Ben.

Re: who needs types? Types makes code ugly.

<jfv2hsF2jgfU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8350&group=comp.lang.ada#8350

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: niklas.holsti@tidorum.invalid (Niklas Holsti)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Fri, 3 Jun 2022 21:34:36 +0300
Organization: Tidorum Ltd
Lines: 48
Message-ID: <jfv2hsF2jgfU1@mid.individual.net>
References: <t79ab6$a4v$1@gioia.aioe.org>
<nnd$1dfb707b$1866b51a@6cddbe3899d992f0> <87wndzt8f1.fsf@bsb.me.uk>
<09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com>
<87fskmty0c.fsf@bsb.me.uk> <l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com>
<871qw5ty1t.fsf@bsb.me.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net DbASo1PsanGDKgsaA7o+TQTqgAorQpU52/W8RBUwylfkGKXIZd
Cancel-Lock: sha1:9edTsd9+ZGywfAvCeotc7FlbPvA=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.6.2
Content-Language: en-US
In-Reply-To: <871qw5ty1t.fsf@bsb.me.uk>
 by: Niklas Holsti - Fri, 3 Jun 2022 18:34 UTC

On 2022-06-03 21:13, Ben wrote:
> Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:
>
>> On Fri, 03 Jun 2022 01:02:27 +0100, Ben <ben.usenet@bsb.me.uk> declaimed
>> the following:
>>>
>>> I don't know much about Ada newer than about 1990. I'll take a look...
>>
>> My condolences
>
> Thank, but I'm fine. Knowing was not intended to imply forced to use.
>
>> -- taken literally, that means you are working with
>> Ada-83 (ANSI/Mil-Std 1815A -- later ISO-8652:1987). The first significant
>> update was Ada-95 (and Air Force funded original GNAT).
>
> That was the only Ada I knew, though I knew about the updates of
> course. Couldn't find any reference to type inference though.

As far as I know, the only type inferencing that occur in Ada is in
for-loops where the type of the loop parameter variable is inferred from
the range or container over which the loop iterates.

> Is there a good place to go for a "summary of changes" between standards?

Each version of the Reference Manual has an "Introduction" chapter that
contains a subheading "Language Changes", but those are quite terse. If
you can find a "Rationale" document for the version in question that
usually has much more information about the changes.

For Ada 95:
https://www.adaic.org/resources/add_content/standards/95rat/rat95html/rat95-contents.html

For Ada 2005: https://www.adaic.org/ada-resources/standards/ada05/

For Ada 2012: http://www.ada-auth.org/standards/rationale12.html

For Ada 2022, see the Intro in the RM:
http://www.ada-auth.org/standards/ada2x.html

For Ada 2022 I don't think there is any "Rationale" document (yet), but
there are various summaries and introductions, for example
https://learn.adacore.com/courses/whats-new-in-ada-2022/chapters/introduction.html

HTH!

Re: who needs types? Types makes code ugly.

<607083e7-d4bb-4c0f-a724-83d328ef7cc4n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8351&group=comp.lang.ada#8351

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:118e:b0:2f9:2aa1:71a9 with SMTP id m14-20020a05622a118e00b002f92aa171a9mr8985284qtk.190.1654288058609;
Fri, 03 Jun 2022 13:27:38 -0700 (PDT)
X-Received: by 2002:a05:6902:120d:b0:660:d02b:a31e with SMTP id
s13-20020a056902120d00b00660d02ba31emr5575016ybu.275.1654288058372; Fri, 03
Jun 2022 13:27:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Fri, 3 Jun 2022 13:27:38 -0700 (PDT)
In-Reply-To: <jfv2hsF2jgfU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=73.121.127.66; posting-account=JSxOkAoAAADa00TJoz2WZ_46XrZCdXeS
NNTP-Posting-Host: 73.121.127.66
References: <t79ab6$a4v$1@gioia.aioe.org> <nnd$1dfb707b$1866b51a@6cddbe3899d992f0>
<87wndzt8f1.fsf@bsb.me.uk> <09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com>
<87fskmty0c.fsf@bsb.me.uk> <l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com>
<871qw5ty1t.fsf@bsb.me.uk> <jfv2hsF2jgfU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <607083e7-d4bb-4c0f-a724-83d328ef7cc4n@googlegroups.com>
Subject: Re: who needs types? Types makes code ugly.
From: devotus@yahoo.com (John Perry)
Injection-Date: Fri, 03 Jun 2022 20:27:38 +0000
Content-Type: text/plain; charset="UTF-8"
 by: John Perry - Fri, 3 Jun 2022 20:27 UTC

On Friday, June 3, 2022 at 1:34:39 PM UTC-5, Niklas Holsti wrote:
> As far as I know, the only type inferencing that occur in Ada is in
> for-loops where the type of the loop parameter variable is inferred from
> the range or container over which the loop iterates.

FWIW I was referring to the optional specification of type in a renames clause, which I first read about here:

https://blog.adacore.com/ada-202x-support-in-gnat

(section "Renames with type inference").

regards
john perry

Re: who needs types? Types makes code ugly.

<87sfolsbxg.fsf@bsb.me.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8352&group=comp.lang.ada#8352

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Fri, 03 Jun 2022 21:56:59 +0100
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <87sfolsbxg.fsf@bsb.me.uk>
References: <t79ab6$a4v$1@gioia.aioe.org>
<nnd$1dfb707b$1866b51a@6cddbe3899d992f0> <87wndzt8f1.fsf@bsb.me.uk>
<09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com>
<87fskmty0c.fsf@bsb.me.uk>
<l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com>
<871qw5ty1t.fsf@bsb.me.uk> <jfv2hsF2jgfU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="bf467813db502b3686b40d5fd9202a72";
logging-data="29497"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19CTtpd42fOvR4059BB42p73dlnlannA+o="
Cancel-Lock: sha1:M3pXQA1cRmB6NEwpx283bY4yS7E=
sha1:qGLPmw5vTydC2UMbWO/SsLaYzbg=
X-BSB-Auth: 1.a88e6b65a5c54c3a778c.20220603215659BST.87sfolsbxg.fsf@bsb.me.uk
 by: Ben - Fri, 3 Jun 2022 20:56 UTC

Niklas Holsti <niklas.holsti@tidorum.invalid> writes:

> On 2022-06-03 21:13, Ben wrote:
<cut>
>> Is there a good place to go for a "summary of changes" between standards?
>
> Each version of the Reference Manual has an "Introduction" chapter that contains a subheading "Language Changes", but those are quite terse. If
> you can find a "Rationale" document for the version in question that usually has much more information about the changes.
>
> For Ada 95: https://www.adaic.org/resources/add_content/standards/95rat/rat95html/rat95-contents.html
>
> For Ada 2005: https://www.adaic.org/ada-resources/standards/ada05/
>
> For Ada 2012: http://www.ada-auth.org/standards/rationale12.html
>
> For Ada 2022, see the Intro in the RM: http://www.ada-auth.org/standards/ada2x.html
>
> For Ada 2022 I don't think there is any "Rationale" document (yet), but there are various summaries and introductions, for example
> https://learn.adacore.com/courses/whats-new-in-ada-2022/chapters/introduction.html

Thanks for the links.

--
Ben.

Re: who needs types? Types makes code ugly.

<t7e8v9$3et$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8353&group=comp.lang.ada#8353

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: randy@rrsoftware.com (Randy Brukardt)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Fri, 3 Jun 2022 19:28:23 -0500
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <t7e8v9$3et$1@dont-email.me>
References: <t79ab6$a4v$1@gioia.aioe.org> <nnd$1dfb707b$1866b51a@6cddbe3899d992f0> <87wndzt8f1.fsf@bsb.me.uk> <09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com> <87fskmty0c.fsf@bsb.me.uk> <l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com> <871qw5ty1t.fsf@bsb.me.uk> <jfv2hsF2jgfU1@mid.individual.net>
Injection-Date: Sat, 4 Jun 2022 00:28:25 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9d398b707955a3ebcaefd801b1137260";
logging-data="3549"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vPfGuvlgnna1QCjjG7pbbRF7v122Tlbg="
Cancel-Lock: sha1:zVwcOqTPG4FI4jGa6UW/tilcPHM=
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246
X-RFC2646: Format=Flowed; Response
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-Priority: 3
X-MSMail-Priority: Normal
 by: Randy Brukardt - Sat, 4 Jun 2022 00:28 UTC

"Niklas Holsti" <niklas.holsti@tidorum.invalid> wrote in message
news:jfv2hsF2jgfU1@mid.individual.net...
....
> Each version of the Reference Manual has an "Introduction" chapter that
> contains a subheading "Language Changes", but those are quite terse. If
> you can find a "Rationale" document for the version in question that
> usually has much more information about the changes.
>
.....
> For Ada 2022, see the Intro in the RM:
> http://www.ada-auth.org/standards/ada2x.html
>
> For Ada 2022 I don't think there is any "Rationale" document (yet), but
> there are various summaries and introductions, for example
> https://learn.adacore.com/courses/whats-new-in-ada-2022/chapters/introduction.html

It is not likely that there will be an Ada 2022 Rationale, as no one has
stepped up to write it or pay John Barnes write it. The closest thing we
have is the Jeff Cousins overview, which I can't find an on-line reference
to (or my copy, for that matter). I'll check with Jeff and hopefully get
more information.

Randy.

What's new in Ada 2022? (was: Re: who needs types? Types makes code ugly.)

<t7fhr3$uoa$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8354&group=comp.lang.ada#8354

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dirk@orka.cs.kuleuven.be. (Dirk Craeynest)
Newsgroups: comp.lang.ada
Subject: What's new in Ada 2022? (was: Re: who needs types? Types makes code ugly.)
Date: Sat, 4 Jun 2022 12:05:55 -0000 (UTC)
Organization: Ada-Belgium, c/o Dept. of Computer Science, KU Leuven
Lines: 85
Message-ID: <t7fhr3$uoa$1@dont-email.me>
References: <t79ab6$a4v$1@gioia.aioe.org> <871qw5ty1t.fsf@bsb.me.uk> <jfv2hsF2jgfU1@mid.individual.net> <t7e8v9$3et$1@dont-email.me>
Injection-Date: Sat, 4 Jun 2022 12:05:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="60284a4e6ba63d52b5657569b6e98dd7";
logging-data="31498"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ujuoIxmJZJLbxLOrubtHOO4rwwZpILQA="
Summary: See contributions in Ada User Journal or new book by John Barnes
Cancel-Lock: sha1:MfE+xftSHwdLNHYYnnKtVgfzgPs=
Originator: dirk@orka.cs.kuleuven.be. (Dirk Craeynest)
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: Dirk Craeynest - Sat, 4 Jun 2022 12:05 UTC

In article <t7e8v9$3et$1@dont-email.me>,
Randy Brukardt <randy@rrsoftware.com> wrote:
>"Niklas Holsti" <niklas.holsti@tidorum.invalid> wrote in message
>news:jfv2hsF2jgfU1@mid.individual.net...
[...]
>> For Ada 2022, see the Intro in the RM:
>> http://www.ada-auth.org/standards/ada2x.html
>>
>> For Ada 2022 I don't think there is any "Rationale" document (yet), but
>> there are various summaries and introductions, for example
[...]
>It is not likely that there will be an Ada 2022 Rationale, as no one has
>stepped up to write it or pay John Barnes write it. The closest thing we
>have is the Jeff Cousins overview, which I can't find an on-line reference
>to (or my copy, for that matter). I'll check with Jeff and hopefully get
>more information.
> Randy.

Two additional sources of information on Ada 2022 exist:
- the Ada User Journal;
- the new book by John Barnes.

The Ada User Journal (AUJ, http://www.ada-europe.org/auj/home) has
published several articles the last few years about the changes in
Ada 2022 (then called Ada 220x).

The latest contribution was the above mentioned overview by Jeff
Cousins. It is available from the AUJ online archive:

Ada User Journal, Volume 41, Number 3, September 2020
Jeff Cousins: "An Overview of Ada 202x", pp.159-175
http://www.ada-europe.org/archive/auj/auj-41-3-withcovers.pdf?page=43

And then there's of course the new edition of John Barnes' book:

"Programming in Ada 2012 with a Preview of Ada 2022"
https://www.cambridge.org/core/books/programming-in-ada-2012-with-a-preview-of-ada-2022/AD30275F35CCECB97EAB80ABC32B019C

Previews of the various sections are available on the cambridge.org
site mentioned above, such as the first page of the Preface at
https://www.cambridge.org/core/books/abs/programming-in-ada-2012-with-a-preview-of-ada-2022/preface/21277D825A1D24906949F642B4AD8BE8

That page includes:
"[...] the main chapters describe the 2016 updated version of Ada
2012 in detail. The book concludes with a major appendix describing
the key new features of Ada 2022".
(2016 refers to the year of publication by ISO of the Corrigendum
which revised Ada 2012.)

I asked John Barnes about the differences between the original
"Programming in Ada 2012" and this new book, apart from the extra
appendix on Ada 2022. He provided the following info.

"The main changes are twofold.

In the main body, I have updated it to cover all changes introduced
by the 2016 corrigendum. I have corrected all known errors (there
were quite a lot) and many cross references were wrong.

An idea of the amount of change can be gathered by noting that the
original version had just 6 AIs mentioned in the Index. The new
edition mentions 55 AIs in the index.

I also updated the text of the main body to use aspects rather than
pragmas where relevant.

So the body is now Ada 2016 although we don't usually talk about
that.

The new appendix (46 pages) covers all major features of Ada
2022. The associated website also has things such as the full
syntax for Ada 2022 in a style matching the book (that's another
30 pages). Also an updated table of the facilities in containers
(14 pages). And some worked examples using new features especially
using the big integer packages (currently another 14 pages).

Each chapter of the main book ends with a checklist outlining the
new features and referring to the appropriate place in appendix 4
where they are discussed.

-- John Barnes, 14 May 2022, with permission"

I hope this helps.

Dirk Craeynest

Re: who needs types? Types makes code ugly.

<468faa5c-3ce4-44af-87a7-7ef93830a450n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8367&group=comp.lang.ada#8367

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:59c7:0:b0:2f9:3b5c:342b with SMTP id f7-20020ac859c7000000b002f93b5c342bmr20430677qtf.58.1654558004693;
Mon, 06 Jun 2022 16:26:44 -0700 (PDT)
X-Received: by 2002:a25:7795:0:b0:662:666b:f927 with SMTP id
s143-20020a257795000000b00662666bf927mr18664969ybc.100.1654558004538; Mon, 06
Jun 2022 16:26:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Mon, 6 Jun 2022 16:26:44 -0700 (PDT)
In-Reply-To: <t79ss1$ch9$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=174.26.236.234; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG
NNTP-Posting-Host: 174.26.236.234
References: <t79ab6$a4v$1@gioia.aioe.org> <1hrg9hd16j7hv7049g01dfjrdmhee5p2ga@4ax.com>
<t79ss1$ch9$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <468faa5c-3ce4-44af-87a7-7ef93830a450n@googlegroups.com>
Subject: Re: who needs types? Types makes code ugly.
From: list_email@icloud.com (Jerry)
Injection-Date: Mon, 06 Jun 2022 23:26:44 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Jerry - Mon, 6 Jun 2022 23:26 UTC

On Thursday, June 2, 2022 at 1:37:24 AM UTC-7, Dmitry A. Kazakov wrote:

<snip>
> Programming by the emoji is the future!
>
> --
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

Agreed. Plus, it is more important to express how you feel about your code than it is to have correct code.

Jerry

Re: who needs types? Types makes code ugly.

<66a25bd1-e92c-477a-95da-5d365a6967a2n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8415&group=comp.lang.ada#8415

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:adf:e28a:0:b0:210:b31:722 with SMTP id v10-20020adfe28a000000b002100b310722mr10248361wri.65.1655487188208;
Fri, 17 Jun 2022 10:33:08 -0700 (PDT)
X-Received: by 2002:a5b:148:0:b0:650:15bd:97ab with SMTP id
c8-20020a5b0148000000b0065015bd97abmr11999662ybp.231.1655487187385; Fri, 17
Jun 2022 10:33:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Fri, 17 Jun 2022 10:33:07 -0700 (PDT)
In-Reply-To: <t7e8v9$3et$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=75.140.92.205; posting-account=84ieUgoAAAAnUS2e_T521zfeUcALYrrJ
NNTP-Posting-Host: 75.140.92.205
References: <t79ab6$a4v$1@gioia.aioe.org> <nnd$1dfb707b$1866b51a@6cddbe3899d992f0>
<87wndzt8f1.fsf@bsb.me.uk> <09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com>
<87fskmty0c.fsf@bsb.me.uk> <l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com>
<871qw5ty1t.fsf@bsb.me.uk> <jfv2hsF2jgfU1@mid.individual.net> <t7e8v9$3et$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <66a25bd1-e92c-477a-95da-5d365a6967a2n@googlegroups.com>
Subject: Re: who needs types? Types makes code ugly.
From: wesley.y.pan@gmail.com (Wesley Pan)
Injection-Date: Fri, 17 Jun 2022 17:33:08 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Wesley Pan - Fri, 17 Jun 2022 17:33 UTC

On Friday, June 3, 2022 at 5:28:28 PM UTC-7, Randy Brukardt wrote:
> It is not likely that there will be an Ada 2022 Rationale, as no one has
> stepped up to write it or pay John Barnes write it. The closest thing we
> have is the Jeff Cousins overview, which I can't find an on-line reference
> to (or my copy, for that matter). I'll check with Jeff and hopefully get
> more information.
>
> Randy.

How much would it likely cost to pay someone to generate the Ada2022 rationale? Maybe the community can join together to help fund the work?

-Wesley

Re: who needs types? Types makes code ugly.

<87o7yrow6d.fsf@nightsong.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8416&group=comp.lang.ada#8416

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Fri, 17 Jun 2022 13:46:18 -0700
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <87o7yrow6d.fsf@nightsong.com>
References: <t79ab6$a4v$1@gioia.aioe.org>
<nnd$1dfb707b$1866b51a@6cddbe3899d992f0> <87wndzt8f1.fsf@bsb.me.uk>
<09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com>
<87fskmty0c.fsf@bsb.me.uk>
<l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com>
<871qw5ty1t.fsf@bsb.me.uk> <jfv2hsF2jgfU1@mid.individual.net>
<t7e8v9$3et$1@dont-email.me>
<66a25bd1-e92c-477a-95da-5d365a6967a2n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="0be64353988bfb31f6d3a4b97a0905f6";
logging-data="4026"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ksFGwfOE1Ah9MppLLXcfO"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:Jud/jANGaq0XmNcLPekh4gLH450=
sha1:a0LaJmVcibhLzZsc9kpdPHyQMI0=
 by: Paul Rubin - Fri, 17 Jun 2022 20:46 UTC

Wesley Pan <wesley.y.pan@gmail.com> writes:
> How much would it likely cost to pay someone to generate the Ada2022
> rationale? Maybe the community can join together to help fund the
> work?

Compared to Ada 2012, the 2022 changes look fairly modest.

Re: who needs types? Types makes code ugly.

<t8jbuo$hov$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8417&group=comp.lang.ada#8417

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: randy@rrsoftware.com (Randy Brukardt)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Fri, 17 Jun 2022 21:06:14 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <t8jbuo$hov$1@dont-email.me>
References: <t79ab6$a4v$1@gioia.aioe.org> <nnd$1dfb707b$1866b51a@6cddbe3899d992f0> <87wndzt8f1.fsf@bsb.me.uk> <09683835-f090-47ce-8a39-467e5fb3167an@googlegroups.com> <87fskmty0c.fsf@bsb.me.uk> <l20j9h9dbsilro6mtr79prg1p1fift4gid@4ax.com> <871qw5ty1t.fsf@bsb.me.uk> <jfv2hsF2jgfU1@mid.individual.net> <t7e8v9$3et$1@dont-email.me> <66a25bd1-e92c-477a-95da-5d365a6967a2n@googlegroups.com>
Injection-Date: Sat, 18 Jun 2022 02:06:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c5a559faedc5471fa05a68e4be48f7f4";
logging-data="18207"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19nstpnGA1gPgWjull71bRnugP067gVA7Q="
Cancel-Lock: sha1:C7aquY/jBRPo2imB5yk2eX8+JKw=
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246
X-RFC2646: Format=Flowed; Original
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-Priority: 3
X-MSMail-Priority: Normal
 by: Randy Brukardt - Sat, 18 Jun 2022 02:06 UTC

"Wesley Pan" <wesley.y.pan@gmail.com> wrote in message
news:66a25bd1-e92c-477a-95da-5d365a6967a2n@googlegroups.com...
> On Friday, June 3, 2022 at 5:28:28 PM UTC-7, Randy Brukardt wrote:
>> It is not likely that there will be an Ada 2022 Rationale, as no one has
>> stepped up to write it or pay John Barnes write it. The closest thing we
>> have is the Jeff Cousins overview, which I can't find an on-line
>> reference
>> to (or my copy, for that matter). I'll check with Jeff and hopefully get
>> more information.
>>
>> Randy.
>
> How much would it likely cost to pay someone to generate the Ada2022
> rationale? Maybe the community can join together to help fund the work?

Dunno, you'd have to ask John.

I did get a copy of Jeff Cousin's overview that I'll put up on Ada-Auth.org
when I get time (probably not until next month).

Randy.

Re: who needs types? Types makes code ugly.

<t8k9de$54l$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8418&group=comp.lang.ada#8418

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dirk@orka.cs.kuleuven.be. (Dirk Craeynest)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Sat, 18 Jun 2022 10:29:02 -0000 (UTC)
Organization: Ada-Belgium, c/o Dept. of Computer Science, KU Leuven
Lines: 138
Message-ID: <t8k9de$54l$1@dont-email.me>
References: <t79ab6$a4v$1@gioia.aioe.org> <t7e8v9$3et$1@dont-email.me> <66a25bd1-e92c-477a-95da-5d365a6967a2n@googlegroups.com> <t8jbuo$hov$1@dont-email.me>
Injection-Date: Sat, 18 Jun 2022 10:29:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3d591a6de84a32a25f647a03affaa2f3";
logging-data="5269"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186+t7hZSi6VSE+jLcVAD9wjwV1ChsC3t8="
Summary: What's new in Ada 2022? See my CLA posting of Sat, 4 Jun 2022 12:05:55 -0000 (UTC)
Cancel-Lock: sha1:6LUqDp0LAfLo/M8q19CnWkXKVjM=
Originator: dirk@orka.cs.kuleuven.be. (Dirk Craeynest)
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: Dirk Craeynest - Sat, 18 Jun 2022 10:29 UTC

>> On Friday, June 3, 2022 at 5:28:28 PM UTC-7, Randy Brukardt wrote:
>>> It is not likely that there will be an Ada 2022 Rationale, as no one
>>> has stepped up to write it or pay John Barnes write it. The closest
>>> thing we have is the Jeff Cousins overview, which I can't find an
>>> on-line reference to (or my copy, for that matter). I'll check with
>>> Jeff and hopefully get more information.

>"Wesley Pan" <wesley.y.pan@gmail.com> wrote [...]:
>> How much would it likely cost to pay someone to generate the Ada2022
>> rationale? Maybe the community can join together to help fund the work?

In article <t8jbuo$hov$1@dont-email.me>,
Randy Brukardt <randy@rrsoftware.com> wrote:
>
> Dunno, you'd have to ask John.
>
> I did get a copy of Jeff Cousin's overview that I'll put up on
> Ada-Auth.org when I get time (probably not until next month).

See my follow-up to Randy's June 3 posting quoted above, that I
posted on 4 Jun in this newsgroup with subject "What's new in Ada
2022?" (copied below).

Executive summary:

- John Barnes wrote a 46 page overview on what's new in Ada 2022;
it is available as a new appendix in his latest book "Programming
in Ada 2012 with a Preview of Ada 2022";

- Jeff Cousin's overview was published in the Ada User Journal (AUJ),
and is already available in the online AUJ archive.

Recent addition:

Earlier this week, Tucker Taft presented a very interesting half-day
tutorial "Moving up to Ada 2022" at the 26th Ada-Europe International
Conference on Reliable Software Technologies (AEiC 2022), held in
Ghent, Belgium. The event was announced in this newsgroup and via
various mailing lists and social platforms. Tutorial participants
got a nice overview of what's new in Ada 2022 and practical examples
of how to use the new features.
(http://www.ada-europe.org/conference2022/tutorials.html#T1).

To conclude, I repeat below my earlier posting with more information
on, and pointers to, John's and Jeff's contributions:

From: dirk@orka.cs.kuleuven.be. (Dirk Craeynest)
Newsgroups: comp.lang.ada
Subject: What's new in Ada 2022? (was: Re: who needs types? Types makes code ugly.)
Date: Sat, 4 Jun 2022 12:05:55 -0000 (UTC)
Organization: Ada-Belgium, c/o Dept. of Computer Science, KU Leuven
Summary: See contributions in Ada User Journal or new book by John Barnes

In article <t7e8v9$3et$1@dont-email.me>,
Randy Brukardt <randy@rrsoftware.com> wrote:
>"Niklas Holsti" <niklas.holsti@tidorum.invalid> wrote in message
>news:jfv2hsF2jgfU1@mid.individual.net...
[...]
>> For Ada 2022, see the Intro in the RM:
>> http://www.ada-auth.org/standards/ada2x.html
>>
>> For Ada 2022 I don't think there is any "Rationale" document (yet), but
>> there are various summaries and introductions, for example
[...]
>It is not likely that there will be an Ada 2022 Rationale, as no one has
>stepped up to write it or pay John Barnes write it. The closest thing we
>have is the Jeff Cousins overview, which I can't find an on-line reference
>to (or my copy, for that matter). I'll check with Jeff and hopefully get
>more information.
> Randy.

Two additional sources of information on Ada 2022 exist:
- the Ada User Journal;
- the new book by John Barnes.

The Ada User Journal (AUJ, http://www.ada-europe.org/auj/home) has
published several articles the last few years about the changes in
Ada 2022 (then called Ada 220x).

The latest contribution was the above mentioned overview by Jeff
Cousins. It is available from the AUJ online archive:

Ada User Journal, Volume 41, Number 3, September 2020
Jeff Cousins: "An Overview of Ada 202x", pp.159-175
http://www.ada-europe.org/archive/auj/auj-41-3-withcovers.pdf?page=43

And then there's of course the new edition of John Barnes' book:

"Programming in Ada 2012 with a Preview of Ada 2022"
https://www.cambridge.org/core/books/programming-in-ada-2012-with-a-preview-of-ada-2022/AD30275F35CCECB97EAB80ABC32B019C

Previews of the various sections are available on the cambridge.org
site mentioned above, such as the first page of the Preface at
https://www.cambridge.org/core/books/abs/programming-in-ada-2012-with-a-preview-of-ada-2022/preface/21277D825A1D24906949F642B4AD8BE8

That page includes:
"[...] the main chapters describe the 2016 updated version of Ada
2012 in detail. The book concludes with a major appendix describing
the key new features of Ada 2022".
(2016 refers to the year of publication by ISO of the Corrigendum
which revised Ada 2012.)

I asked John Barnes about the differences between the original
"Programming in Ada 2012" and this new book, apart from the extra
appendix on Ada 2022. He provided the following info.

"The main changes are twofold.

In the main body, I have updated it to cover all changes introduced
by the 2016 corrigendum. I have corrected all known errors (there
were quite a lot) and many cross references were wrong.

An idea of the amount of change can be gathered by noting that the
original version had just 6 AIs mentioned in the Index. The new
edition mentions 55 AIs in the index.

I also updated the text of the main body to use aspects rather than
pragmas where relevant.

So the body is now Ada 2016 although we don't usually talk about
that.

The new appendix (46 pages) covers all major features of Ada
2022. The associated website also has things such as the full
syntax for Ada 2022 in a style matching the book (that's another
30 pages). Also an updated table of the facilities in containers
(14 pages). And some worked examples using new features especially
using the big integer packages (currently another 14 pages).

Each chapter of the main book ends with a checklist outlining the
new features and referring to the appropriate place in appendix 4
where they are discussed.

-- John Barnes, 14 May 2022, with permission"

I hope this helps.

Dirk Craeynest

Re: who needs types? Types makes code ugly.

<87fsk1obw1.fsf@nightsong.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8419&group=comp.lang.ada#8419

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.ada
Subject: Re: who needs types? Types makes code ugly.
Date: Sat, 18 Jun 2022 15:16:46 -0700
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <87fsk1obw1.fsf@nightsong.com>
References: <t79ab6$a4v$1@gioia.aioe.org> <t7e8v9$3et$1@dont-email.me>
<66a25bd1-e92c-477a-95da-5d365a6967a2n@googlegroups.com>
<t8jbuo$hov$1@dont-email.me> <t8k9de$54l$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="c3bc43b87f7e12045c10ff09e459e8ad";
logging-data="17184"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18P9sG+p04DURH5FBEOPsV/"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:HXVMkAeB3Hb8E11/AsmVf8Y7KFI=
sha1:fTfiILJxS4HzUMgycjTyfZrwcdY=
 by: Paul Rubin - Sat, 18 Jun 2022 22:16 UTC

dirk@orka.cs.kuleuven.be. (Dirk Craeynest) writes:
> To conclude, I repeat below my earlier posting with more information
> on, and pointers to, John's and Jeff's contributions: ...
> I hope this helps.

Yes, thanks, those references are useful for understanding the changes
introduced in Ada 2022. I had thought the idea of a formal rationale
was different: not just to explain the changes, but also to explain from
an authoritative standpoint why the decisions were made. I don't know
how important rationales traditionally been in the Ada world. But, Ada
2012 introduced a much larger set of changes than Ada 2022 did. So I
can understand if a rationale was more important in 2012 than in 2022.

I guess if higher-end Ada community thought that a 2022 rationale was
necessary, they would have required it and funded it. As a
not-so-serious user or wannabe user, I don't think I need it, but that's
just me.

I do notice long after reading "Ada Distilled" that most of the
discussions on this group about technical aspects of Ada still baffle
me. So I think a more advanced online tutorial would do some good. I
believe the current Ada Wikibook is nice for beginners but doesn't cover
more advanced topics all that well.


devel / comp.lang.ada / who needs types? Types makes code ugly.

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor