New answers tagged

5

You can only say one is better than the other in particular circumstances. 9 times out of 10, there isn't an important enough difference to really care which direction the stream is intended to be used. In some cases, the underlying stream is truly bidirectional (I'm looking at you Sockets, Files). In Java you have to get two different stream objects to ...


Top 50 recent answers are included