From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lioneldraghi Newsgroups: comp.lang.ada Subject: Re: Ichbiah 2022 compiler mode Date: Sat, 21 Dec 2024 00:26:06 +0100 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 21 Dec 2024 00:26:06 +0100 (CET) Injection-Info: dont-email.me; posting-host="331d1bed6150e4fbb6f2e349fe0f6448"; logging-data="3850016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195P7ML8JIHQsYubkOskG1KyHZ5vN+T/tM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:VuSTFLPt1n/a7tZS2GTA7MDXGuE= Content-Language: fr-FR, it-IT, en-US In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:66494 List-Id: I am sensible to the complexity vs use balance, and I would easily cope with the negative consequence of most of the simplifications you propose (at least those I understand!) but obviously it's hard to be fully aware of the consequence. Le 06/09/2024 à 02:03, Randy Brukardt a écrit : > (3) A number of syntax options are eliminated. Matching identifiers are > required at the end of subprograms and packages. Initializers are always > required (<> can be used if default initialization is needed). Keyword > "variable" is needed to declare variables (we do not want the worst option > to be the easiest to write, as it is in Ada). Why are you considering variables worst than constants? I don't want the the "worst" option to be the easiest to write, but neither do I want to put one more keyword in the most common case. Note that : 1. I have no statistics, but it seems to me that there is more variables than constants in my code. 2. I say "Useless" from my coder point of view, I dont know if it simplify the work for compiler or tools implementers. Lionel