Sujet : Re: Ichbiah 2022 compiler mode
De : pascal (at) *nospam* obry.net (Pascal Obry)
Groupes : comp.lang.adaDate : 22. Dec 2024, 10:32:20
Autres entêtes
Organisation : Home - http://www.obry.net
Message-ID : <fea1328848bb5cf12eddbdb4c163cf0bb81d662c.camel@obry.net>
References : 1 2 3 4 5
User-Agent : Evolution 3.54.2-1
Le samedi 21 décembre 2024 à 13:26 -0800, Keith Thompson a écrit :
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.
-- Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://photos.obry.net gpg --keyserver keys.gnupg.net --recv-key F949BD3B