c++ - Why do college computer science classes promote 'using namespace std'? -
i've taken 2 classes on c++ far, 1 each @ different school, , both of them have used 'using namespace std;' teach basic programming. may coincidence had go out of way find out it's not practice so. because best practices when writing sample code not best practices when writing large projects. in c++ course, write small programs (up few hundred lines of code) have solve relatively small problem. means little no focus on future maintenance (and avoiding sources of confusion future maintainers). because many teachers not have coding experience in large projects, problem doesn't acknowledged (let alone discussed) in c++ courses.