Re: The MOVE problem



In article <56_Vi.15993$lD6.14460@xxxxxxxxxxxxxxxxxxxxxxxxxx>,
Doug Miller <spambait@xxxxxxxxxx> wrote:
In article <ssZVi.44717$b9.24845@xxxxxxxxxxxxxxxxxxxxxx>, "Judson
McClendon" <judmc@xxxxxxxxxxxxx> wrote:
Thanks Bill, I thought you would come back with a definitive response. :-)

MOVE A(B) TO B C(B).

I would never consider writing such code as in this example. Code should
be written to be as simple and easy to understand as possible, and this
example violates that principle. Using two statements would make the intent
obvious.

DING DING DING! We have a winner, ladies and gentlemen! *That* is the correct
answer.

Never mind that the Original Poster's question was 'What shouzld (sic) be
displayed in various compatible modes?', of course. I'm sure that would
go over quite well in a tech interview:

'Here's one of our Production programs... what should be displayed in
various compatible modes?'

'I would never consider writing such code.'

'Thanks much... next, please.'

DD

.



Relevant Pages

  • Re: The MOVE problem
    ... spambait@xxxxxxxxxx (Doug Miller) writes: ... I would never consider writing such code as in this example. ... DING DING DING! ... across to some of the faculty here regarding code they let students ...
    (comp.lang.cobol)
  • Re: The MOVE problem
    ... I would never consider writing such code as in this example. ... DING DING DING! ... Never mind that the Original Poster's question was 'What shouzld be ... Then I guess it's a Good Thing I wasn't answering the original question, ...
    (comp.lang.cobol)
  • Re: The MOVE problem
    ... Doug Miller wrote: ... I would never consider writing such code as in this example. ... DING DING DING! ... intentionally or has been quoted verbatim: He signed his name as e. ...
    (comp.lang.cobol)
  • Re: The MOVE problem
    ... I would never consider writing such code as in this example. ... DING DING DING! ... go over quite well in a tech interview: ... Then I guess it's a Good Thing I wasn't answering the original question, ...
    (comp.lang.cobol)
  • Re: The MOVE problem
    ... Doug Miller wrote: ... I would never consider writing such code as in this example. ... DING DING DING! ... Never mind that the Original Poster's question was 'What shouzld be ...
    (comp.lang.cobol)