http://qs321.pair.com?node_id=427507


in reply to Re: Importing constants into another module
in thread Importing constants into another module

You're right, it's a tradeoff. I could either have more verbose constants, which would clutter up the code (they're used very frequently) and good OO design. Or I could export them all so other modules looks less cluttered but sacrifice maintainability/extensibility in the future.

Given that this application has a limited lifespan and scope, I'm thinking the latter makes the most sense.

Feel free to call me insane. :-)

  • Comment on Re^2: Importing constants into another module

Replies are listed 'Best First'.
Re^3: Importing constants into another module
by paulski (Beadle) on Feb 03, 2005 at 05:21 UTC
    Thanks for everyone's help. I've got this module stuff down now. :-)