From: "srichter " <email@example.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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.