From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Ichbiah 2022 compiler mode Date: Sun, 22 Dec 2024 10:32:20 +0100 Organization: Home - http://www.obry.net Message-ID: References: <87frmgwwwh.fsf@nosuchdomain.example.com> Reply-To: pascal@obry.net MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Date: Sun, 22 Dec 2024 10:32:21 +0100 (CET) Injection-Info: dont-email.me; posting-host="6bd3d34af556c64d319fc44aaf1e25d2"; logging-data="590594"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FwTCLa1xhihfLY+PQOptynimjeHtT+rI=" User-Agent: Evolution 3.54.2-1 Cancel-Lock: sha1:FIKojqCtFteiQqHpqm8GA8Zm3xY= In-Reply-To: <87frmgwwwh.fsf@nosuchdomain.example.com> Xref: news.eternal-september.org comp.lang.ada:66502 List-Id: Le samedi 21 d=C3=A9cembre 2024 =C3=A0 13:26 -0800, Keith Thompson a =C3=A9= crit=C2=A0: > Using "constant" for something that isn't going to be modified is > good > practice, but I'd say it's for the benefit of the human reader. Exactly the point of Randy. And as Jean-Pierre would say "a program is written once and read many times" (or something like that). So having "constant" is a very important point when reading the code for maintenance. Actually a developer don't care about the compiler, what is important is the "visible" semantic to the human reader. --=20 =C2=A0 Pascal Obry /=C2=A0=C2=A0Magny Les Hameaux (78) =C2=A0 The best way to travel is by means of imagination =C2=A0=C2=A0http://photos.obry.net =C2=A0 gpg --keyserver keys.gnupg.net --recv-key F949BD3B