I\'m just teaching myself C++ namespaces (coming from a C# background) and I\'m really starting to think that even with all the things that C++ does better than most other l
You can skip indentation. I often write
namespace myLib { namespace details {
/* source code */
} } /* myLib::details */
C++ source code is eventually compiled into binary, unlike C#/Java which stays in the binary. Therefore, namespace just provides a fine solution for variable naming conflict. It is not intended for class hierarchy.
I often keep one or two namespace levels in the code.