I cant seem to see the immediate benefit of namespaces. At first sight, the only benefit is ofcoarse using the same global variable names throughout a project through the use of preceding those variable names with their respective namespaces. But why is this a benefit when in the first place these variables can be named differently to avoid causing re-definition?
What are the real benefits to namespaces that I cant seem to pick up?