Jan 29, 2020 07:44 AM
(This post was last modified: Jan 29, 2020 07:50 AM by Sugawara.)
I just started revising C++ for my interviews, my goal is to understand the crux of the language and build a competitive programming practice around it. I came across the namespace controversy which differs from every programmers' style. Some use the namespaces for competitive programming and others prefer the later with building apps in C++.
According to me, a good coding practice should be carried across irrespective of projects.
Would you go with writing
which imports all the objects from the "Standard Template Library" or would rather prefer using it with the scope resolution style?
It would be great if you can provide a justification/reason around this.
According to me, a good coding practice should be carried across irrespective of projects.
Would you go with writing
Code
using namespace stdCode
std::*object*It would be great if you can provide a justification/reason around this.


