|
The main drawback of C for LOB (line of buisness) type programs is file I/O. On the AS/400, it is very weak. This means Database & device IO (screens, print files, etc). But, for logic and structured programing, it is great. And if you move up to C++, it is MUCH MUCH better. C++ is to C the way ILE/RPG is to RPG II. And I know for a fact that it does not take a reasonable RPG programmer very long to learn C. The syntax is different, but the concepts are not. C++ is not such an easy step because it adds the "object oriented programming" model into the mix. That means not only new syntax, but fundamental concept changes also (but VERY worth it). Bob -----Original Message----- From: Rob Berendt [SMTP:rob@dekko.com] Sent: Tuesday, May 11, 1999 5:18 PM To: MIDRANGE-L@midrange.com Subject: RE: X-Spec (was: "RPG isn't cool") I remember having an online discussion years ago on the old NEWS/400 bulletin board with Paul Conte about his constant haranguing of RPG. While he felt that RPG had many drawbacks he felt that it was a better language for business programs than C was. Was it just database or was it something else? bob@cstoneindy.com on 05/11/99 05:05:41 PM Please respond to MIDRANGE-L@midrange.com@Internet To: MIDRANGE-L@midrange.com@Internet cc: Subject: RE: X-Spec (was: "RPG isn't cool") Instead of making RPG more like C, how about making C more like RPG? Before everybody starts throwing flaming emails, stop and think about it. What is the best part of RPG? The Database IO. In RPG, it So easy to use and very effective. What is the bad part of RPG? The fixed form and highly structured stuff. Short names. Etc. What is the good part of "C"? Highly flexible, free form, multiple data types, and stuff like that. What RPG is bad at. What is the bad part of "C"? Database! The database support, well it sucks. Hard to use...hard to manage...and harder to figure out! But, the rest of "C" is very good. And, it is not hard for an RPG programmer to learn C. Then you don't have to worry about "breaking" RPG. And to give descent Database to C, you only have to add some functions. Just a thought...I'll go back into lurk mode. Bob +--- | 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 +--- +--- | 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 +--- +--- | 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.