in reply to loading a module only if you need it

hmm, not having protoypes is going to bite me in the end and i'll have a bug i won't know how to get rid of :)

i think i'll focus on relinquishing common functions still in the main script of using global variables, and then move those functions to another module, and then split up whats left to smaller, bite sized scripts... possibly OO'ing some of the modules to get a standardized interface.

which leads to another question. has anybody started a project with a small script, but after a while the script becomes unruly and large, so much as to question your whole structure and the only way to releive the problem is to dramatically change the sctructure? if so, how did ou go about this. above is my plan. anyone want to comment on this?

-justin simoni
!skazat!

  • Comment on Re: loading a module only if you need it

Replies are listed 'Best First'.
RE: Re: loading a module only if you need it
by clemburg (Curate) on Oct 09, 2000 at 23:43 UTC