Hello all,
I have a question that is just a matter of opinion. I would like to see people explain their point of view on the subject: should one use the keyword "using", or should one preface a namespace every time something in it is referenced? And if you're in favor of using using, do you use "using namespace" or just the referenced item, eg. "using std::cout"?
Myself, I don't use "using" in any case (with the exception of programming contests, where speed is more important than good code). I find that it entirely kills the entire use of namespaces. I barely use "using", and yet the few times I did use it I ran into trouble, the only one I can remember now was "int map[25][25];". And somehow I find it tells the reader of the code a lot more on the object to specify, each time, where this object is located.
Honestly, I'm quite surprised how many people use using, and the fact that that keyword even exists.
So, what are your guys' thoughts?