[Xastir-Dev] does it make sense to start killing globals?

Derrick J Brashear shadow at dementia.org
Wed Jul 2 11:42:53 EDT 2003


On Wed, 2 Jul 2003, Curt Mills, WE7U wrote:

> On Wed, 2 Jul 2003, Derrick J Brashear wrote:
>
> > let's pick an example. would it make sense to say, stop using scale_x and
> > scale_y and make them static to one file and use accessor functions to get
> > and set from elsewhere?
>
> I see some object-oriented stuff peeking out of what you just said.
> Heck yea!

In the same vein, I see places with code duplication. Here, however, the
variables change. I assume for the simple reason of "pain to debug" that
switching to using preprocessor macros is right out?



More information about the Xastir-dev mailing list