Closed dstroy0 closed 1 year ago
It may get a bit "wordy" if the namespace's name is repeated in the namespace's members' names.
namespace InputHandler {
const char* InputHandlerConst = "";
}
which would be referenced as InputHandler::InputHandlerConst
.
Otherwise, namespaces are a great habit! In python, each module is a namespace 😉
yes, I would shorten the names significantly, I just need to test that it works correctly. I did some preliminary testing to make sure that the members actually ended up in progmem.
Just doing some regression testing and then I'll add the other members.
Looks like there's a separate preprocessor issue for mbed platforms.
constants are in their own namespace
ih_constants:: makes sense as a name to me, unless you have any ideas?
all the lib constants should go in here