[Info-vax] Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator Code
Lawrence D’Oliveiro
lawrencedo99 at gmail.com
Thu Aug 12 19:52:10 EDT 2021
On Friday, August 13, 2021 at 5:32:09 AM UTC+12, Bill Gunshannon wrote:
>
> I don't understand his statement at all. COBOL wasn't designed to be a
> database.
Strawman, much?
I said COBOL was (supposedly) designed specifically for “business” needs. But those “business” needs soon came to include database-intensive applications, for which COBOL was, and remains, completely unsuited.
For an example of what I mean, how would you do the COBOL equivalent of what I can express in a single Python statement:
filter_clause = " and ".join \
(
"%s = %s" % (field_name, format_sql_value(params[field_name]))
for field_name in field_names
if params[field_name] != ""
)
(That is, filter the query on fields where the user entered a value, not on those where the value was left blank.)
More information about the Info-vax
mailing list