|
Hello Buck, Well, actually I don't think you are confused. Hans has some valid points with regard to inheritance but that is just one aspect to the OO paradigm (Yes, got that word in again!). Other fundamental aspects of OO are encapsulation, isolation, and abstraction. All of which RPG IV does better than the previous incarnations of RPG. So, learning RPG _WILL_ help you with these concepts and that can ease the learning of the other OO specific aspects like inheritance and polymorphism. OO is much more a design philosophy, and while an environment which supports all the above aspects is nice, it is possible to apply OO concepts to any programming language if _YOU_ are sufficiently disciplined. It is also possible to write monolithic non-OO programs in Java, Smalltalk, Object Pascal, or any other programming language. There are other concepts which translate well: methods => procedures; classes => modules; packages => programs. I know that is not entirely correct and certainly the OO purists would have you believe otherwise but I have never subscribed to the belief that to do OO requires you to discard all the carefully honed expertise you may have developed in procedural coding. OO is really not radically different. Regards, Simon Coulter. //---------------------------------------------------------- // FlyByNight Software AS/400 Technical Specialists // Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 // Fax: +61 3 9419 0175 E-mail: shc@flybynight.com.au // // Windoze should not be open at Warp speed. //--- forwarded letter ------------------------------------------------------- > Date: Tue, 08 Dec 98 11:42:16 -0500 > From: "Buck Calabro/commsof" <mcalabro@commsoft.net> > To: MIDRANGE-L@midrange.com > Reply-To: MIDRANGE-L@midrange.com > Subject: Re: RPG,COBOL or JAVA > >Buck Calabro wrote: > >>I think that this is very well said. An aside is > >>that RPG IV/ILE RPG can help you learn OO while > >>you work, rather than have to learn OO AND a new > >>language AND a new environment (GUI) all at the > >>same time. > > > >I have to disagree with this. New features of > >RPG IV, such as prototyped procedures, allow you > >to apply the technique of "modular programming", > > -snip- > > >To summarize my point: Inheritance is a very > >fundamental characteristic of OO programming and > >cannot be fully appreciated without experiencing > >OO. Using a non-OO language, like RPG IV, can > >never prepare you for OO. > > Thanks, Hans! > I was definitely confused. > I see that I seriously need to visit my bookstore > and get some more education... > Sometimes it's depressing seeing just how far > behind one can be from the "real world." Oh, > well -- better a wake up call than a pink slip! > > Buck Calabro > mailto:mcalabro@commsoft.net +--- | 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 +---
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.