in reply to Re^3: Unclear about 'our'
in thread Unclear about 'our'
Both structured design and the newer object-oriented design discourage using subroutines that share a common pool of variables
Structured code does not preclude shared variables.
And the basis of OOP is the association of attributes (variables) with methods (subroutines). It's literally built around a common pool of variables.
|
|---|