in reply to One Big Script v. Several Small Scripts

One thing I haven't seen mentioned yet is debugging the program if there are problems.

It should be easier to find a problem in a small document compared to a large one because you wouldn't have to scroll up and down so much to find the section you need.

Also, some text editors (like Notepad) have a relatively small file size limit. Oh, and if an error is really hard to spot, printing out a single small script uses fewer dead trees.

__________
"Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction which doesn't work." -- (Author Unknown)

  • Comment on Re: One Big Script v. Several Small Scripts