in reply to Re: Re: Re: Re: Confused about splitting program into multiple files.
in thread Confused about splitting program into multiple files.
...if every function is going to be available (exported) is there a reason not to put them in package main?
One reason could be code reuse. If the same functions are used across several scripts, you at minimum save a little typing by keeping them in a separate file where they can be pulled in by all the scripts that need them.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Confused about splitting program into multiple files.
by Anonymous Monk on Feb 15, 2004 at 09:09 UTC |