Re: How to deal with globals during refactoring classes into separate files.

2008-11-19 Thread r0g
r0g wrote: > Hi There, > > I'm refactoring some old code that uses global variables and was > originally written in one big flat file with a view to nicening it up > and then extending it. The problem I have though is when I move the Hi Chris / Gabriel, Thanks v.much, that's really helped my un

Re: How to deal with globals during refactoring classes into separate files.

2008-11-18 Thread Chris Rebert
On Tue, Nov 18, 2008 at 4:14 PM, r0g <[EMAIL PROTECTED]> wrote: > Hi There, > > I'm refactoring some old code that uses global variables and was > originally written in one big flat file with a view to nicening it up > and then extending it. The problem I have though is when I move the > various cl

Re: How to deal with globals during refactoring classes into separate files.

2008-11-18 Thread Gabriel Genellina
En Tue, 18 Nov 2008 22:14:39 -0200, r0g <[EMAIL PROTECTED]> escribió: I'm refactoring some old code that uses global variables and was originally written in one big flat file with a view to nicening it up and then extending it. The problem I have though is when I move the various classes out t

How to deal with globals during refactoring classes into separate files.

2008-11-18 Thread r0g
Hi There, I'm refactoring some old code that uses global variables and was originally written in one big flat file with a view to nicening it up and then extending it. The problem I have though is when I move the various classes out to their own separate files and reimport them back in they can't