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/2008-May/079840.html below:

[Python-Dev] Iterable String Redux (aka String ABC)

[Python-Dev] Iterable String Redux (aka String ABC) [Python-Dev] Iterable String Redux (aka String ABC)Paul Moore p.f.moore at gmail.com
Wed May 28 14:17:14 CEST 2008
On 27/05/2008, Raymond Hettinger <python at rcn.com> wrote:
> Conceptually, this is a fine idea, but three things bug me.
>
> First, there is a mismatch between the significance of the problem
> being addressed versus the weight of the solution.

Agreed, absolutely.

> Second, this seems like the wrong solution to the problem
> as it places the responsibility in the wrong place and thereby
> hardwires its notion of what kind of objects should be split.

Again, agreed. The flatten function is one of the canonical examples
of the visitor patterns. I see no generalisation of this proposal to
other visitor patterns. I'd rather see a solution which addressed the
wider visitor use case (I think I just sprained my back bending over
backwards to avoid mentioning generic functions :-))

> Third, I thought ABCs were introduced as an optional feature [...]

Again, I agree absolutely.

Paul.
More information about the Python-Dev mailing list

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