H
howa
I have a class, which has a variable store the state of the class,
e.g. isRunning
However, when I want to add a public method to access to this
variable, I wonder should I use getIsRunning or simply IsRunning?
seems getter (getXXX) is a normal way, but the method name seem to be
dummy....
e.g. isRunning
However, when I want to add a public method to access to this
variable, I wonder should I use getIsRunning or simply IsRunning?
seems getter (getXXX) is a normal way, but the method name seem to be
dummy....