[Python-ideas] Retrying EAFP without DRY
Stephen J. Turnbull
stephen at xemacs.org
Wed Jan 25 02:28:06 CET 2012
Mike Meyer writes:
> The point is to make the try statement more powerful.
Not on python-ideas, it isn't. Here, the point is to make Python more
expressive (including clarity in "expressive"). That may mean making
some statements less expressive (in the extreme, eliminating them
entirely, as in the case of "print").
> So long as you incorrectly see this as "just another looping
> construct", your conclusions will be flawed.
That's unfair. Nobody said "just". If anything, you were trying in
earlier posts to maintain the opposite extreme ("not a looping
More information about the Python-ideas