Using namespace has a drawback. In case of extensive use, there is a risk of running into a problem called ‘Namespace Clash’. This means that within a library, there may be multiple namespaces with the same keyword. On writing a keword common to multiple namespaces, the IDE might get confused that which namespace is to be used.
1 Like