in reply to When Is Dividing Code Into Different Subroutines/Packages Important?
It only took me a minute or two to update and save all three files, but as it was a web application, a minute or two could have meant quite a few errors because of the discrepancy between what script A was reading and what script B was reading.
Only a small thing, but I was forcefully reminded that if I wanted to do a cutover like that from one file system to another, it would get done much more cleanly if the directory location could be changed in only one file, so I put it into a shared "require" file ASAP.
Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.
M-J D
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: When Is Dividing Code Into Different Subroutines/Packages Important?
by yosefm (Friar) on Jun 16, 2003 at 19:00 UTC |