• Subject: Re: MIDRANGE-L Digest V4 #342
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Mon, 09 Apr 2001 14:00:13 -0700
  • Organization: Pacer International


I did this once myself on a different platform, and it improved both
time to create new programs, and modifications on old programs.  Also,
I decided to do a customer pop up menu and found one place I could 
change a procedure to make it active in all my programs without
(in that language on that platform) having to recompile but one
source program!

In the module that returned a customer record, if the customer number
they entered was a "?" I had a window pop up and let them select a
customer, then returned that.  The original program had no idea anything
was changed and didn't care.

And new programs turned out to be a matter of 10's of lines instead of
hundreds of lines without all the file logic I/O.

And one day I decided to add journaling to this system, oh, shoot, I had 
to change one source file again and recompile it, and every program that
added/changed/deleted a record was journeled.

It does take work to get it there though, but I had gotten tired of modifying
every single one of my programs when I found a slicker way to doing things.
(Maybe I shouldn't use "slick" with the thread going on in RPG-L <grin>).


Jim Langston

Date: Mon, 9 Apr 2001 14:42:34 -0500 (CDT)
From: Scott Klement <klemscot@klements.com>
Subject: RE: What counts as technically slick?

These are my sentiments exactly!  I one thought out and designed a
whole system for calling a seperate "library of functions" to access
a file, and in the end came to the conclusion that this wouldn't buy
me ANYTHING but complexity.  

The externally defined files ALREADY provide you with as much of a
layer of independence from I/O operations as these external routines

I guess I could see doing this if I thought the files would soon be
located on another computer, on another platform, where I'd save the
work of re-writing all of the programs involved.   But how often does
something like this ever happen?   It never has, for me.
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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

This thread ...

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

This mailing list archive is Copyright 1997-2019 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].