Yes - but that 'some point' doesn't seem to come in many cases... |
That's true, but then I'd guess that 99.9% of those cases are going to be for people who never actually go on to do any coding other than exercises for school, so it doesn't really matter.
I'd guess that most people who continue to code to the point where they're getting their hands on production code, will most likely have continued learning C++ at a level where they'll have been taught properly about namespaces, and why putting "using" in headers is a terrible idea.
Anyway, my point generally is that when you're teaching people at the very start of their education on a particular subjects, there are some shortcuts you have to take regarding details, in order to keep things simple enough for people to grasp the rudiments you need.
Just as it's OK to start kids out on Newtonian physics as an approximate model, and save quantum physics until much later, I'm also OK with telling kids to just write
using namespace std;
when they're starting, and then getting them to unlearn it later.
Putting it into a header file, though, is a step too far ;)
EDIT: And this is probably way more of a digression than the OP wanted!