I always liked Python
import big_honkin_name as bhn
so you can just use bhn.thing, and not significantly more verbose big_honkin_name.thingin your source.
I saw the use of two types of namespace in C ++ code:
using namespace big_honkin_name;
int a = fn (27);
(which I'm sure is bad) or:
int a = big_honkin_name::fn (27);
Is there a way to get Python functionality in C ++ code, for example:
alias namespace big_honkin_name as bhn;
int a = bhn::fn (27);
source
share