in reply to Re^2: averages from multiple files
in thread averages from multiple files
2. A better point, but also unnecessary for this example.
3. If you say so. I personally find it rather messy having "my" spread all through the code at random points.
4. Good point on the argument. Regarding what he's splitting on, that's up to him, not me. I'm not going to bother trying to anticipate all the things that could possibly go wrong with his input data.
5. Yes, but if this is part of a larger program, there may be other things running for some time after this finishes, and the last part of the file buffer may or may not actually write to the file until the close is declared. I prefer to close at the first opportunity just to build good habits. I've actually run into problems not closing things immediately in the past.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: averages from multiple files
by Marshall (Canon) on Nov 27, 2011 at 03:58 UTC |