3 ms·
I see what you mean. I think it depends on the type of code and how you interact with it. A library that requires its consumer to keep track of a bunch of data
by rvense 6y ago
I see what you mean.
I think it depends on the type of code and how you interact with it. A library that requires its consumer to keep track of a bunch of data and pass it in and out at the right times when it could just as well handle internally is not a very good library. But if we say that all the code the above example is from an application, where a normal change might involve touching all of the mentioned functions, making it explicit where some variable is used.