I have "discovered' the ability in MC to build functions outside a class and to call them from within a class.
Obviously they can't access any class variables, which I overcome by reading Storage values (very sparingly) , and that's OK as I'm using then to manage views.
The upside is that the code is simpler as I can call them directly from anywhere in my code.
My question is: Is this "good practice" and if not why not?