× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 4/11/07, AGlauser@xxxxxxxxxxxx <AGlauser@xxxxxxxxxxxx> wrote:
Brian Lewis wrote on 11/04/2007 15:01:27:

> C and RPG are different tools for different jobs. I don't know how the
> statement that RPG has "better procedure prototypes" could be supported
> (they seem roughly equivalent to me, and C had function prototypes
> decades before RPG did).

I wouldn't venture to say that C is better than RPG or vice versa, but in
terms of prototypes I agree with Brian. If anything, I'd say that C has
better prototyping abilities in that you can overload procedures -
although I guess that depends on what precisely you mean by prototyping.

RPG needs overloading but option(*omit and *nopass) is an improvement
over C. Pass by value or reference in RPG is cleaner than C. The
data mapping you get when passing by value or const reference is an
improvement over C.

You take away all the RPG legacy global variables and you have a
language that can be as close to the metal as C but with a lot of
common sense improvements. RPG as a GNU language on the p5??

-Steve

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.