Boost logo

Boost :

From: bill_kempf (williamkempf_at_[hidden])
Date: 2001-12-21 11:13:11


--- In boost_at_y..., "Jani Kajala" <jani_at_s...> wrote:
> > Seriously, though, even if you consider iostreams to be a bad
design,
> > the Java streams are MUCH worse (at least from a C++ design
> > perspective). They are a huge pain to use and result in even more
> > overhead than iostreams.
>
> It's true that there is no single big fat stream class which would
be
> immediately there to use, but filter design of Java io is more
flexible,
> efficient and definitely better than iostreams. Using output of one
stream as in
> input to another is a very powerful concept. You should not
underestimate the
> powers of the dark side.

I don't. But I find the design to be incredibly difficult to use no
matter what benefit can be perceived in it. Further, like almost all
Java APIs, it's underspecified leaving you with very dangerous areas
where you have no idea what a given implementation is going to do.

Bill Kempf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk