[Info-vax] OpenVMS system programming language

Lawrence D'Oliveiro ldo at nz.invalid
Mon Feb 24 20:05:46 EST 2025


On Mon, 24 Feb 2025 16:55:31 -0500, Arne Vajhøj wrote:

> Type declarations are part of the Pascal way.
> 
> But I don't think it is the same in OO languages.
> 
> I have never heard a Java developer ask for it.

Never written things like this?

    private final HashMap<Integer, ArrowLabel>
        SatLabels = new HashMap<Integer, ArrowLabel>();

Or this?

    return
        new Iterable<Map<String, String>>()
          {
            public Iterator<Map<String, String>> iterator()
              {
                return
                    new ResultMapIterator
                      (
                        Resolver.query
                          (
                            /*uri =*/ ProviderUri,
                            /*projection =*/ FieldNames,
                            /*selection =*/ Selection,
                            /*selectionArgs =*/ SelectionArgs,
                            /*sortOrder =*/ SortOrder
                          ),
                        FieldNames
                      );
              } /*iterator*/
          } /*Iterable*/;


More information about the Info-vax mailing list