Menu

#515 'using namespace' shouldn't be used in headers

Usability
open
5
2012-12-11
2010-10-03
Jonas
No

'using namespace ...' shouldn't be used in headers (*.h)
-slows down compiling
-pollutes the name environment
-will make experienced programmers cry and rip their hair out ;)

in headers use "<namespace>::" instead

use 'using namespace ...' in source files (*.cpp) only

Discussion


Log in to post a comment.