|
I would tend to agree with the other programmer. I don't think there is a "correct answer" either. It seems to me that if it is code that has been previously written in another program, the simplest and quickest way would be to copy and paste that part of the code to the new program. Let's face it, for most every project you are working on there is a deadline, and if you can meet or beat that deadline you look great in the eyes of the end-users and especially your superiors. But, as programmers, we are all uniquely different in our style of coding, what may work for Jim, may not be suitable for Sharon and vice-versa. Good luck in the explanation. Bill Bynum - You can't teach this old dog new tricks!!!!!!! -----Original Message----- From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On Behalf Of Jim Langston Sent: Wednesday, June 20, 2001 6:40 PM To: RPG400-L@midrange.com Subject: ILE Propoganda There is another programmer in the company who has been asked to do all new coding using ILE. I am working on a program, and making all my new Subroutines into Procedures (leaving the old ones alone for now). He called me about a program change he was doing and I mentioned that I was adding new procedures into this program, and that he should look at how they are done so he knows how to do them. I explained, briefly, how they work, and went, briefly, into the difference between coding them in the source, coding them in a module, binding to the module or creating a service program, etc.. His comment, "It sounds awfully complicated, so why not just create a program and call the program? There are many answers to this, but what is the "correct" answer? Calling a procedure coded inside a program should take no more time, or even a bit more time, then calling a subroutine, clock cycle wise. It is not easy to explain the advantages of a Local variable to someone who has has coded straight top down RPG exclusively. Any suggestions as to how I can explain the advantages of using ILE concepts to such a programmer? Regards, Jim Langston Me transmitte sursum, Caledoni! +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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 mailing list archive is Copyright 1997-2025 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.