Are we on the ASSEMBLER list?
In what way this code
LA 2,512 L 1,16(,15) SR 1,2 M 1,=F'27'
or whatever, is less obtuse than (I'll use Perl for brevity)
if ($a=~/$([^\s]){0,8}\sLA\s{1,5}(R|)\d{1,2},/){ #do something}
(forgive any bug in any of the above if there any, both pieces are for
illustration only :)
Yet, we all (in this list,) understand the first code example, and those of us
who know regular expressions would have no problem to understand the second
piece.
There would be a place for your complain in a COBOL list where you compare the
above two examples to something like INSPECT CAT-TYPE REPLACING ALL 'K' BY
'C'.
which is by far more readable then any of the above (and this was the late R.
Admiral Grace Hopper intention when she dream up COBOL... good for her and all
of us!)
Many of us on this list move throughout our workday between ASSEMBLER, COBOL
or PL/I, Rexx, JCL, Unix Shells and Java, and we do not have any issue with
that. We switch our mode of thinking among those platforms. My intention in
creating API copybooks for the POSIX regex functions, was to help using that
stuff in COBOL. It is used in Java and Unix Shells, and lately in ISPF as
well. Ze'ev Atlas
From: John Walker <[email protected]>
To: [email protected]
Sent: Monday, March 23, 2015 8:53 AM
Subject: Re: ASSEMBLER-LIST Digest - 21 Mar 2015 to 22 Mar 2015 (#2015-35)
Regular expressions is the most god-awful piece of clap-trap garbage I have
ever laid my eyes on. Yeah for you PC programmers! Groans of disbelief from
us mainframe programmers at the obtuse, obfuscating gibberish that RE is and
that we will be forced into learning.
--------------------------------------------
On Sun, 3/22/15, ASSEMBLER-LIST automatic digest system
<[email protected]> wrote:
Subject: ASSEMBLER-LIST Digest - 21 Mar 2015 to 22 Mar 2015 (#2015-35)
To: [email protected]
Date: Sunday, March 22, 2015, 11:00 PM
ASSEMBLER-LIST Digest - 21 Mar 2015 to 22 Mar 2015
(#2015-35)
#yiv5827852113 body {
font-family:Arial, Helvetica,
sans-serif;font-size:12px;color:#000000;}
#yiv5827852113 td {
font-family:Arial, Helvetica,
sans-serif;font-size:12px;color:#000000;}
#yiv5827852113 p {
font-family:Arial, Helvetica,
sans-serif;font-size:12px;color:#000000;}
#yiv5827852113 a {
font-family:Arial, Helvetica,
sans-serif;font-size:12px;font-weight:bold;color:#3366CC;text-decoration:none;}
#yiv5827852113 h2 {
font-family:Arial, Helvetica,
sans-serif;font-size:17px;font-weight:bold;color:#CC0033;}
#yiv5827852113 h3 {
font-family:Arial, Helvetica,
sans-serif;font-size:16px;font-weight:bold;color:#3366CC;}
ASSEMBLER-LIST Digest - 21 Mar 2015 to 22 Mar 2015
(#2015-35)
Table of contents:
ASSEMBLER-LIST Digest - 17
Mar 2015 to 21 Mar 2015 (#2015-34) (2)
ASSEMBLER-LIST Digest - 17
Mar 2015 to 21 Mar 2015 (#2015-34)
Re: ASSEMBLER-LIST Digest
- 17 Mar 2015 to 21 Mar 2015 (#2015-34) (03/22)
From: Brent Longborough <[email protected]>
Re: ASSEMBLER-LIST Digest
- 17 Mar 2015 to 21 Mar 2015 (#2015-34) (03/22)
From: Ze'ev Atlas <[email protected]>
Browse the ASSEMBLER-LIST
online archives.