On Montag 27 Oktober 2008, Jason Tackaberry wrote:
> On Mon, 2008-10-27 at 10:13 +0100, Dirk Meyer wrote:
> > I did not like monitoring(bool) and neither do I like monitor(bool). I
>
> I don't like monitoring(bool) either, but monitor(bool) seems fine.  And
> if nobody is likely to want to disable monitoring, then
> monitor(bool=True) seems better.

That's how it was before r3640; note that most of the callers just used 
query.monitor() before, which I turned into query.monitor = True now.

If my opinion counts, I like the old syntax better; I think "explicit is 
better than implicit" from the Zen holds here, because you just don't *see* 
that it's a property when you read "q.monitor = True".  (From a language 
perspective, I like the fact that it's possible to have properties, but I do 
not see many good reasons to use them at all.)

-- 
Ciao, /  /                                                    .o.
     /--/                                                     ..o
    /  / ANS                                                  ooo

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to