... is passing parameters via "common variables", imitating "environment", which they are on most occasions not.
This is unavoidable if you have functions 100 lines long; you have those variables keeping this and that... then you split the code, but you have to keep those "shared variables", so there.
They are just parameters, you know. If you think of them this way, your architecture becomes clean and clear.
This is unavoidable if you have functions 100 lines long; you have those variables keeping this and that... then you split the code, but you have to keep those "shared variables", so there.
They are just parameters, you know. If you think of them this way, your architecture becomes clean and clear.