|
From: "srichter " <srichter@mail.autocoder.com> > I think the OOP version is more clear and "building blockable". > The only advantage to the RPG version is that is uses less CPU. > And the AS400 is the only platform on which the CPU > disadvantage of the OOP version matters. Your example showed an extra layer of abstraction. I agree, it simplifies the interface. It's more readable. I'd encourage RPG programmers to implement the technique. For example: If Not customerAdd(customerPointer) Eval errorMessage = customerErrorMessage(customerPointer) ... EndIf > The as400 could meet these requirements much better if the > CPU was as fast as it could be ( can even keep the price the same ). > IBM would make more money, colleagues of mine would not be > leaving the platform because of the lack of work and we could prove > to the rest of the computer world that our platform is the best on > the market. Ok. Extra layers of abstraction do add overhead. You have a good point. Nathan M. Andelin www.relational-data.com
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.