2 ms·
> if they were one function before they probably share some state and this is exactly why you refactor to pull out the shared state into parameters, so that ea
by chii 5y ago
> if they were one function before they probably share some state
and this is exactly why you refactor to pull out the shared state into parameters, so that each of the "subfunctions" have zero side effects.