× 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.



> > From: Bartell, Aaron L. (TC)
> > 
> > I would like you to backup that statement with some examples
> 
> You did it yourself:
> 
> > XMLSAX_addHandler()
> > XMLSAX_parseMemory()
> > XMLSAX_clearHandlers() . . .
> > 
> > This is not as nice as namespaces in my opinion.
> 
> Not "as nice"?  Who cares?  It works.  Try writing an entire operating
> system in assembly language, then come back and tell me how "not nice"
> RPG is.  Heck, trying writing an ERP system using 6-character field
> names!
> 
> Sheesh.  Not "as nice". 
> 
> 
> Joe
> 


Joe,

I'm going to have to agree with Aaron on this one.

Namespaces aren't that big a deal when you mostly roll your own.  However,
it seems that RPG is slowly catching up to the rest of the world in terms of
third party provided libraries.  Thus namespaces will become evermore
important.  Aaron's example is sensible way of doing things.  But what do I
do when I've bought two third party libraries both of whom have a RPGIVTOOLS
module or a DATES module or maybe XMLSAX?

Take a look at history, I'm pretty sure C++ didn't support namespaces
originally but they had to be added as the us of third party libraries
increased.

Finally I seem to recall reading a report of someone who has already run
into this problem with RPG lack of support for namespaces.


Charles

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.