2 ms·
What's wrong with having the functions stateless and just passing the state in as a parameter? OOP does exactly this behind the scenes. > foo.do(bla) is synta
by Tomis02 6y ago
What's wrong with having the functions stateless and just passing the state in as a parameter? OOP does exactly this behind the scenes.
> foo.do(bla)
is syntactic sugar for
> do(foo, bla)