Namespace issues/disadvantages

One of the main disadvantages of using namespace is that it allows name clashing, as in if there are two library methods/functions called “print” (for example), we wouldn’t know which library we are getting “print” from, because we dont have the identifier (namespace:: ) before the function. As a result, in large projects, this may cause confusion, especially when it comes to code maintenance.

Privacy & Terms