[Info-vax] OpenVMS system programming language
Arne Vajhøj
arne at vajhoej.dk
Mon Feb 24 22:23:30 EST 2025
On 2/24/2025 9:22 PM, Lawrence D'Oliveiro wrote:
> On Mon, 24 Feb 2025 20:33:07 -0500, Arne Vajhøj wrote:
# private final Map<Integer, ArrowLabel> satLabels = new
HashMap<Integer, ArrowLabel>();
>> But I think it is good code.
>
> I think it is bloody long-winded code.
It is fine with me.
I do not even like the Java 7+ version:
private final Map<Integer, ArrowLabel> satLabels = new HashMap<>();
> In C++ I could write things like
>
> typedef std::map<std::string /*section*/, SectionParams>
> SectionTable;
> typedef std::pair<std::string, SectionParams>
> SectionTablePair;
> typedef SectionTable::const_iterator
> SectionTableLister;
Yes.
But that just give the reader of the code a few more names
to remember what is.
Arne
More information about the Info-vax
mailing list