Personally, I would use “getFoo” for a function and “foo” for a variable.
A variable is just a pure function with no parameters.
Personally, I would use “getFoo” for a function and “foo” for a variable.
A variable is just a pure function with no parameters.