From: Kaldrenon Date: 2007-07-24T03:39:59+09:00 Subject: Re: Class Overkill? What's practical? On Jul 22, 9:55 pm, "Aureliano Calvo" wrote: > I think that you need to do nothing. Just make sure that you > understand the script when you read it. If you need to do a second > script that shares things, factorize when needed. I strongly suggest > that you do some automated tests to check that the original script is > not being broken (noting fancy, just a couple of examples with its > expected output). Factorizing before the need is over abstracting. I agree with the sentiment of "don't make too much more work for yourself," but OP says he expects to "create another bill of materials script for another user in the future, and most certainly, while the concepts might be the same, the specifics will change." So it wouldn't be unwise, unnecessary, or overdoing it do factor it now, especially if he has time now.