On Thursday, September 29, 2005 12:08 AM Sanjiva Weerawarana wrote:
>
> Going back to my old C programming days, it is absolutely critical to
>prefix all names with a unique constant .. the pain of link errors is
>simply not worth it.

Since open source projects are developed by ppl from all over the world
your thought is really valid.

I believe, compiling and linking errors can be resolved easily by
maintaining a
good global name space and defining more local names as possible as we
can.
Good source of information related to this topic could be found in a
book written
by John Lakos - "Large-Scale C++ Software Design"
http://www.amazon.com/exec/obidos/tg/detail/-/0201633620/104-1744394-767
7539?v=glance

However, if we use the same prefix every where as stated in the style
guide 
there won't be any different I guess. 

>
> Yeah but again its a reasonably widely used model. The other option is
>of course almost Java-like CamelCase: Axis2cFoo Axis2cBar etc..
>
In most C only code we use that model; good eg. is UNIX source code.
Cool if we can use the java style (same as good old Pascal style ;-)
with meaningful short names. 

I'm still wondering is this plan to be a pure C effort or a C/C++
effort??

Thanks
-Lilantha




_______________
Siebel
IT'S ALL ABOUT THE CUSTOMER
Visit www.siebel.com

This e-mail message is for the sole use of the intended recipient(s) and 
contains confidential and/or privileged information belonging to Siebel 
Systems, Inc. or its customers or partners. Any unauthorized review, use, 
copying, disclosure or distribution of this message is strictly prohibited. If 
you are not an intended recipient of this message, please contact the sender by 
reply e-mail and destroy all soft and hard copies of the message and any 
attachments. Thank you for your cooperation.

Reply via email to