Change to static methods like Loop::?
kelunik opened this issue · comments
Niklas Keller commented
Change to static methods like Loop::?
Bob Weinand commented
Is there any concrete advantage?
Niklas Keller commented
Having encapsulation and different getters and setters.
Bob Weinand commented
It's not more or less encapsulated with the function than with a static one.
Also, I see no benefit in having different getters and setters. The current solution works pretty nicely and has no drawbacks to me.
Changing it just for the sake of using a static accessor doesn't make much sense to me.