News for hackers. Stuff that matters.
Re:C++17 – better than you might think by WalterBright on Thursday December 29, 2016 @08:03AM (#13277032)
The trouble with namespaces is they are not encapsulated (even without ADL). Any piece of code can open up any namespace and add symbols to it. Not being able to reliably determine what is the set of symbols being overloaded in a namespace, for example, makes it hard to reason about.
Re:C++17 – better than you might think by gurkendoktor on Friday December 30, 2016 @03:31PM (#13287177)
When writing a container, I'd actually prefer to open namespace std and overload std::begin and std::end for my_namespace::container. That way, I'd be free to use my_namespace::begin for something else, which IMHO is the point of namespaces. But having ADL and being able to re-open other people's namespaces is definitely unfortunate.

I love the Objective-C convention of just using three-letter prefixes for everything. I'll miss its pragmatic approach.