[Python-ideas] oow vs. oow [was: strptime without second argument as an inverse to __str__]
Steven D'Aprano
steve at pearwood.info
Thu Aug 7 02:10:36 CEST 2014
On Wed, Aug 06, 2014 at 07:05:48AM -0700, Ethan Furman wrote:
> On 08/06/2014 03:40 AM, Wolfgang Maier wrote:
> >On 06.08.2014 12:34, Ethan Furman wrote:
> >>On 08/06/2014 01:35 AM, Wolfgang Maier wrote:
> >>>
> >>>[...] which is really quite against the one and only one way of doing
> >>>things idea.
> >>
> >>It's "One Obvious Way" not "Only One Way".
> >>
> >
> >I wasn't quoting, just paraphrasing.
>
> It's a bad paraphrase as the two have nearly completely different meanings.
>
> If you wish to pursue this sub-thread further I'll have to turn my portion
> over to D'Aprano (assuming he's willing) as he is much better at long
> explanations than I am.
I can make it a short explanation :-)
"Only One Way" implies:
assert len(collection_of_ways) == 1
"One Obvious Way" implies:
assert any(way.is_obvious() for way in collection_of_ways)
Now I suppose I'll have to go back and read the rest of the thread to
understand what this is about *wink*
--
Steven
More information about the Python-ideas
mailing list