|
Nowadays people look at the JVM like its some sort of magic kingdom where the laws of physics no longer apply, but the truth is it's just more code. I'm going to steal this quote, use it as my own and only give Joe credit when Joe catches me using it (only kidding). I think this should become the battle cry of the IT community. I also think we should point out the same thing about MSSQL, .NET, Oracle and all of the others who make the general public into testing environments rather than properly testing their applications and products. John Brandt iStudio400.com (903) 523-0708 Home of iS/ODBC - MSSQL access from iSeries and RPG. -----Original Message----- From: Joe Pluta [mailto:joepluta@xxxxxxxxxxxxxxxxx] Sent: Friday, February 25, 2005 6:41 PM To: 'Midrange Systems Technical Discussion' Subject: RE: Time to get serious > From: Scott Klement > > The way that you call Java classes (which are OO) from RPG is to always > pass the object as the first parameter... > > Seems logical that you'd do it the same way in RPG as well.... This is in fact how all OO languages actually do it, and how we did it back in the pre-OO days. We wrote object-based applications in C back in the 80s, and to do it we created "handles", which were nothing more than VOID pointers. The calling program had no idea what the pointer pointed to, but the called procedure used it as a pointer to the structure which held the "instance data" for the "object". None of this is exactly rocket science and back in the old days a decent CS teacher would explain that to you. Nowadays people look at the JVM like its some sort of magic kingdom where the laws of physics no longer apply, but the truth is it's just more code. Joe -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/05 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/05
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.