Quote:
|
The items in all caps are defined variables that get used throghuout the system. Ive could get this working by passing the variables as parameters but on a large scale this completely defeats the purpose of making a modular system and really prohibits future changes.]
|
Using parameters won't prohibit future changes and it may make your code more secure, more robust, and easier to maintain.
You can always extend a parameter list with default parameters, like so: