|
<Birgitta>
IMHO for beginners using ILE concepts subroutines might still be helpful for
encapsulating and structuring the encapsulated source code.
But as soon as they have learned to think really modular, they'll find out
subroutines are not needed
</Birgitta>
Might be true for ILE newbies with some years RPG background. Real beginners should not hear about subroutines before they have incorporated to use procedures. It's better to learn first how to do and maybe afterwards(or maybe never), how people did write RPG programms with RPGII. Too many people are stuck at writing RPGII logic, but using free format.
One of the big problems are the tools!!! RDI (or how it might be named today) is looking very modern, but under the cover LPEX logic is working. For example: using Eclipse free Java Editor to write a new method (= procedure), you could just use the not existing method, the Editor would complain immediate "I don't know this method" and you could choose "Then implement it" and the editor writes for you all formal stuff, including needed parameters and return value (there is no prototype anyway, declaring the interface is sufficient).
D*B
As an Amazon Associate we earn from qualifying purchases.
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.