Welcome Guest, Not a member yet? Register   Sign In
General use class: static or not?
#1

I have this generic class with some small functions to be used by the whole application.

I would like to know what is considered a 'better practice' in this case: make the methods as static and call them directly or instantiate the class into the controller?

Huh 

Thanks!
Recovering the wasted time...
Reply


Messages In This Thread
General use class: static or not? - by YanKleber - 05-06-2020, 02:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB