From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on ip-172-31-91-241.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=none autolearn=ham autolearn_force=no version=4.0.1 Path: nntp.eternal-september.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Niocl=C3=A1is=C3=ADn_C=C3=B3il=C3=ADn_de_Ghlost=C3=A9ir?= Newsgroups: comp.lang.ada,comp.compilers.tools.javacc Subject: Re: ada to java Date: Wed, 13 Aug 2025 17:17:39 +0200 Organization: A noiseless patient Spider Message-ID: References: <75bc24aa-4004-c622-ce30-93f989ae30f3@insomnia247.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Injection-Date: Wed, 13 Aug 2025 15:17:46 +0000 (UTC) Injection-Info: dont-email.me; posting-host="7cc36d2e9ca95e5b2bdb3917b1f07765"; logging-data="4171168"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/oZmZgJaH8p9r8YmosIfDLV5J1ZQYHG/qAnzv40DUNIg==" Cancel-Lock: sha1:uoMxC7bjkeLRCEINis9q6caTGTA= In-Reply-To: Xref: feeder.eternal-september.org comp.lang.ada:66869 comp.compilers.tools.javacc:20 List-Id: On Wed, 13 Aug 2025, Von Ottone wrote: "Right. Java is evil." An amusing comp.lang.java.programmer article has Headers Subject: Re: constructor with more than 255 params and Message-ID: <1127383390.117229.283330@g44g2000cwa.googlegroups.com> References: by Hemal Pandya . . . "Roedy Green wrote: [...] > > Alternatively, put the parameter info into a Collection, perhaps a > HashMap of name=value pairs and pass in the Collection. All very good advice. But instead of using the evil data structure HashMap you might find the named parameter indiom useful: http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.18 " Ada is absolutely better as normal.