This, Paul, is my central mantra:
http://www.colesoft.com/files/presentations/commercialqualityprogramming.pdf


Sent from my cell phone . Pease forgive typos.
Readability has been relevant to me since the early 70s when I learnt to
write assembler. I now try to write code as though I have to maintain my
own code many years later when I have no memory of why I wrote it in the
first place.

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]]
On Behalf Of Brent Longborough
Sent: Wednesday, 7 October 2015 4:56 AM
To: [email protected]
Subject: BXLE considered harmful

> Date:    Mon, 5 Oct 2015 13:25:32 -0400
> From:    Steve Smith <[email protected]>
> Subject: Re: Branch Table: Item stepping considered useful; BXLE
> considered harmful
>
> I use JXLE (or JXLEG) a lot, and don't find it at all difficult to use
> or understand (the only issue is remembering what goes in which
> register).  It is fairly ideal for the current example, as it doesn't
> require a separate counting register along with the actual index.  As
> Martin showed, the code is simpler.

I'm sure you don't, just as I don't have a problem with the parameter block
for KLMD, because I use it a lot. That's not the point; the point is
readability for the poor soul who has to read my code five years after I'm
dead. BXLE has a good alternative that in my view is much easier to
understand, where you don't *need* to remember what goes in which register.

And it does need a separate register; not for the count, but for the limit.

Brent Longborough
Sent from my typewriter - please forgive any typos

Reply via email to