Others may correct me if I am wrong, but I would say that your friend is dead wrong. The OO paradigm is a design philosophy more than anything else. It is the philosophy that a program elements should resemble the real life things (problems and/or objects) that they are trying to describe in the virtual world. It was thought that this would lead to more maintainable code, and code that was quicker to write and get to market. The original information on OO procedures detailed out this design philosophy and later programing languages like Java and C++ attempted to implement it, to varying degrees of success. The design philosophy of OO programming is really quite independent of any specific language and/or machine implementation. ----- Original Message ----- From: Bartell, Aaron L. (TC) <ALBartell@taylorcorp.com> To: <JAVA400-L@midrange.com> Sent: Friday, January 19, 2001 1:00 PM Subject: OO Programming? > This question has been bugging me for some time now. Here it is: > > Java is known as an OO programming language but RPG is considered > procedural. The other day I had a Java programmer explain to me that the OO > difference is not necessarily how you develop one program using a bunch of > different classes and objects but rather how they are stored in memory when > they are called. Only one copy of a program is stored in memory in Java and > all programs making a call to that particular program are always referencing > that same one. > > Is this also true for RPGILE type programming? With the advent of *SRVPGM > programs is the same thing basically happening with RPG? From what I > understand the first initial call to a service program will load it into > memory and then leave it there for other programs to use. Or is it just for > the length of that particular job. > > I am not up on my Java or RPGILE lingo so please excuse any miss-use of > terms. > > Trying to swallow the ocean one drop at a time, > Aaron Bartell > > +--- > | This is the JAVA/400 Mailing List! > | To submit a new message, send your mail to JAVA400-L@midrange.com. > | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. > | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner: email@example.com > +--- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.