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.
In reply to Re^4: Unclear about 'our'
by ikegami
in thread Unclear about 'our'
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |