Thoughts about using namespace std?
Someone who is pro-"using namespace std" said this:
Quote:
Code is much more readable if the namespace is not specified with each call but simply specified at the beginning of the file. As you mentioned, there is a benefit to specifying the namespace with each use. However, the cost is higher than the benefit.
Does anyone have any thoughts as to how I might convince them that
is better than
Code:
using namespace std;
cout << x;
?
I guess I shouldn't say that they are pro-"using namespace std". They're just in favour of making code as readable as possible.