A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-July/026708.html below:

[Python-Dev] Single- vs. Multi-pass iterability

[Python-Dev] Single- vs. Multi-pass iterability [Python-Dev] Single- vs. Multi-pass iterabilityGuido van Rossum guido@python.org
Thu, 18 Jul 2002 15:30:41 -0400
> I suspect read and write would best be kept on separate
> interfaces.  Ability to read, write, seek-and-tell, being three
> atoms of which it makes sense to have about 6 combos
> (R, W, R+W, each with or without S&T).  Rewind might
> make sense separately from S&T if streaming tapes were still in
> fashion and OS's gave natural access to them.

5, because R+W without S&T makes little sense.

> But I do think it's all pretty academic.

C++ has tried very hard to do this with its istream, ostream and
iostream classes; I believe I heard C++ people say once that it's not
considered a success.  I believe Java has tried to address this too.
What do you think of Java's solution?

--Guido van Rossum (home page: http://www.python.org/~guido/)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4