The best replacement for global variable is local variable. |
The best alternatives to global variable are rated as following: |
|||||||||||||||
|
|||||||||||||||
Your alternative for global variable is not listed? Suggest! |
No companions for global variable have been suggested so far. |
You have in mind a companion for global variable and it is not yet here? Propose! |
global variable |
|
local variable |
|
singleton |
|