Concerns over using namespace

Using namespace can make our jobs as programmers a bit quicker by allowing us to skip writing the namespace for every function we plan on using within that namespace. But unfortunately, sometimes libraries with multiple namespaces may have the same function defined differently by different namespaces, and if we don’t explicitly say which namespace’s function we are calling, then we may end up unintentionally using the wrong function.

Privacy & Terms