Dmitry A. Kazakov wrote: "On 2024-01-05 03:00, Randy Brukardt wrote: > "Dmitry A. Kazakov" wrote in message > news:un64o3$3krch$1@dont-email.me... > ... [. . .] >>>> Usability always trumps performance. >>> >>> That's the philosophy of languages like Python, not Ada. >> >> Ah, this is why Python is totally unusable? (:-)) > > I would tend to argue that it is indeed the case that you get dubious > results when you put usability first. Ada puts > readability/understandability, maintainability, and consistency first > (along > with performance). Those attributes tend to provide usability, but not at > the cost of making things less consistent or understandable. > > I wrote an article on this topic a year and a half ago that I wanted to > publish on Ada-Auth.org. But I got enough pushback about not being > "neutral" > that I never did so. (I don't think discussing why we don't do things some > other languages do is negative, but whatever.) I've put this on RR's blog > at > http://www.rrsoftware.com/html/blog/consequences.html so it isn't lost. Thanks for posting this." Dear all, Thanks indeed. "[. . .] 3. Removing meaningless repetitions contributes to usability. But X := X + Y is only one instance where Ada required such repetition. [. . .] [. . .]" I wrote a function to increment as a workaround but opinionated Anita Enmark did not like it. Engineering and opinions. " if X in T'Class then declare XT : T'Class renames T'Class (X); T'Class is repeated 3 times." Sorry: 2 times. With best regards. Nioclás Pól Caileán de Ghloucester