What is the use of a namespace?
The use of name-spaces provides an adequate mechanism for avoiding these “name clashes”. Functions (or methods) are now grouped into namespaces, and we are assured (to a certain point) that namespaces should be unique (for example if you use the name of the company you are working for as a namespace), now even if two functions have the same signature they should be located within different namespaces, allowing you to avoid name-clashes.