[Info-vax] COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)
    Lawrence D’Oliveiro 
    lawrencedo99 at gmail.com
       
    Thu Sep 16 22:08:46 EDT 2021
    
    
  
On Friday, August 20, 2021 at 1:31:54 PM UTC+12, Arne Vajhøj wrote:
> Fixed length strings are not a problem. 
I laugh at your pathetic fixed-length buffers.
> Strings with no concept of length are a problem. 
I laugh at your ignorance of dynamic languages like Python. And I’d like to see you stuff something like this
    cu.execute \
      (
            "insert into font_features(filename, fileindex, tag) values "
        +
            ", ".join(("(?, ?, ?)",) * len(feature_tags)),
        sum
          (
            (
                (
                    fontfilename,
                    faceindex,
                    HB.UNTAG(tag, True).decode(),
                )
                for tag in feature_tags
            ),
            ()
          )
      )
in your COBOL pipe, and smoke it.
(Taken from <https://github.com/ldo/python_fontconfig_examples/blob/master/collect_opentype_fonts>.)
    
    
More information about the Info-vax
mailing list