3 Dec
2004
3 Dec
'04
5:06 p.m.
Bryce Harrington wrote:
Hmm, yeah... Looks like for this case the need is less about formatting output and more for passing streams around from function to function, so streams does better at that. Of course, performance may need to be considered, but this only occurs at file load/save, right? So slight performance changes there may not be a problem even if they exist.
Yes. That is a very reasonable focus.
Then again, we need to check for all the cases where we might want to use something, especially chaining.
It's not unheard of (in C++ and Java) to get in somewhere to add a final bit of funtionality, only to discover that you're blocked from some needed info by a stream chain abstraction.