× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: An odd structure (?)
  • From: SCHENCK_DONALD <schencd%AM_LZCH%VASELL@xxxxxxxxxxxxxx>
  • Date: Fri, 12 Dec 1997 16:13:35 -0500
  • Autoforwarded: false
  • Disclose-recipients: prohibited
  • Hop-count: 2
  • Importance: normal
  • In-reply-to: <199712121831.SAA104830@out2.ibm.net>
  • MR-Received: by mta TIMONE.MUAS; Relayed; Fri, 12 Dec 1997 16:13:35 -0500
  • MR-Received: by mta VASELL; Relayed; Fri, 12 Dec 1997 16:12:23 -0500
  • MR-Received: by mta MPMH; Relayed; Fri, 12 Dec 1997 16:10:55 -0500
  • Sensitivity: Company-Confidential
  • UA-content-id: 11BC640D2100
  • X400-MTS-identifier: [;9035131612121997/A43907/TIMONE]

>>>But for all of the below average programmers (that'd be half or more,
>>>right?) I'd like at least some structure there that is recognisable a few
>>>weeks later.  Rambo-style makes me jittery.


Rambo-style??

Compare:

CHAIN  FILE( Customer )   KEY( Id )  NR( CustomerNotFound )
IF     CustomerNotFound
         MOVE  'This Customer does not exist'  TO  ScreenErrorMsg
ENDIF

             -- OR --

        ID    CHAINCUSTF                            54
      *IN54 IFEQ *ON
            MOVE ERR,1          SCRERR
            ENDIF


Waitaminit!  Did I get the columns right???


Free-format does NOT mean that you can't align the code. In fact, a
professional programmer (see any book by Henry Ledgard for the definition of a
"professional" versus "P-sub-A") will use good style to make the code more
readable.

(I had put together a COMMON session on coding style, but left the "AS/400
world" for two years before I got a chance to deliver it. I'm hopeful for FALL
1998)

Instead, you're FORCED into a box with RPG.

Remember -- and I know YOU understand this -- a language's strength lies it its
ability to communicate between a programmer and ANOTHER PROGRAMMER.

I'm not trying to BASH RPG (although I am doing quite a job, eh? <g>), but
rather trying to point out the weaknesses of the language. Forget the religious
wars and "pride of ownership" stuff; RPG's weaknesses need improvement.

Having said that, let me repeat: ILE RPG is MUCH, MUCH, MUCH nicer than the
previous messes. I can actually look at my ILE RPG programs and read them.

IBM is moving -- albeit slowly -- in the right direction. So ... if I'm "holier
than thou" for pointing out the weaknesses in RPG, do I later get credit for
being right all along??? <VBG>

Peace,

-- Don "I'd rather be building my canoe" Schenck

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.