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.
|
|---|
| 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 | |
by Anonymous Monk on Jul 29, 2003 at 11:57 UTC |