Simple (bad) Practice question

Dec 3, 2012 at 5:09pm
I remember (do not ask from where) reading that:

#using namespace std

is bad coding practice. Is it true?
Dec 3, 2012 at 5:14pm
Depends. If it's under global scope (which most people who use this do) then yea. It can lead to naming conflicts on larger projects. If used correctly and smartly then no it's not a problem. Though I think it's much easier to avoid the potential issues altogether by just using std::whatever
Dec 3, 2012 at 5:17pm
Dec 3, 2012 at 5:19pm
thank you :)
Topic archived. No new replies allowed.