Good evening,
Can we create our custom namespaces? (such as a "tools" or "geometry" namespace).
If so, what is the naming convention for such namespaces?
Hi,
I don't know if there are any instructions about creating custom namespaces for this project. However, it might be too much depending on how you planned to use it.
Indeed, if you want to model a set of tool functions as suggested in the project instructions, it is more commun to use a class. This kind of "tool" class contains generally static methods, as you don't want these methods to be dependant on any tool objects.
However if you really want to use custom namespace, you can still take Google or Microsoft naming convention until the teacher gives a clear answer on this matter.
if you wish to put in place a namespace for the module tools, you should name it with the module name. Please note that including a full namespace with "using namespace" is considered as substandard practice. For exemple it is forbiden in google.