Let's say that I've got a class which handles animations. Inside of this class is a boolean called isLooped
and a function which returns this boolean. My question is, what can I do to avoid calling the function and variable the same thing?
I have thought about adding a prefix to my class variables, but that would mean making changes across my entire code base, which I don't desire.