On Aug 19, 2009, at 3:07 PM, Arve Bersvendsen wrote:
On Wed, 19 Aug 2009 21:21:54 +0200, Jonas Sicking <[email protected]>
wrote:
I do like the idea of having a stream primitive. I think we'll need
that for other things in the future such as reading data from a
camera, or reading data from a microphone.
I quite concur, and for the widget space, actually writing data is a
real
use-case.
However I'm not convinced that we should force people to use streams
to deal with the simple use case of reading data from a file. In 95%
(if not more) of the cases the user simply wants to get the contents
of the file, and so forcing them to do that using:
Does the presence of an IOStream primitive exclude getAs*?
They are independent proposals. Of course, it is still possible that
the next WD combine the two. I wouldn't like that too much, but that's
just me.
--
Arve Bersvendsen
Opera Software ASA, http://www.opera.com/
Nikunj
http://o-micron.blogspot.com