in reply to Re: Doing stuff in specific directories on Unix
in thread Doing stuff in specific directories on Unix

There's no reason to put all of that right in the call to find(), is there?

Sure there is. If he's just trying to get it done, right now, and he's not likely to use this program ever again, why bother? If he does use it again and needs to make it more flexible, it's just code. He can generalize then.

While half of the sins in the programming world come from premature optimization, easily another half come from premature generalization. (Yes, there are more sins in programming than you'd believe.) Back in 1999, I just wanted a working web browser, not a cross-platform framework for writing applications in XML and JavaScript.

  • Comment on Re: Re: Doing stuff in specific directories on Unix

Replies are listed 'Best First'.
Re: Re: Re: Doing stuff in specific directories on Unix
by sauoq (Abbot) on Jul 28, 2003 at 20:26 UTC
    If he's just trying to get it done, right now, and he's not likely to use this program ever again, why bother?

    Well, he already said it worked and that he was trying to improve it.

    Back in 1999, I just wanted a working web browser, not a cross-platform framework for writing applications in XML and JavaScript.

    Back in 1999? Heh. That's all I want today.

    -sauoq
    "My two cents aren't worth a dime.";
    
      Thanks to both of you and I appreciate the opinions and your advise. Thanks again!