|
-
April 6th, 2008, 01:10 PM
#1
namespace
Hello,
recently I'm wondering why to use "namespaces". The most important aim I founded is: if 2 person write code and after they fusion it, there'll can be collision names; so putting code in two different namespaces could save the programmers from change the "name" of varibles in their code (code that could be very large). But after it I wondered too: if I do "very object" programming, all it's an object; so the names inside an object can't collides....So I'm thinking namespace are only a C++ "escamotage" for helps to integration with old C code and to help old C programmer too; is that?
thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|