in reply to Passing variables is as easy as passing gas
Global variables are not a BAD thing - but they can be easily abused about 1000 lines into your code. By encapsulating these variables into proper classes, you will hopefully achieve better code re-use. I say hopefully because first attempts at OO are usually not pretty. :)
jeffa
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: Passing variables is as easy as passing gas
by mattg (Novice) on Nov 03, 2001 at 01:20 UTC |