ternary operator vote

Erik Max Francis max at alcyone.com
Wed Feb 12 00:45:14 CET 2003

Bengt Richter wrote:

> B: +0
> C: -0  # actual opinion, no way to express

Indeed, and I'm not sure how the difference between +0 and -0 (which I
presume are "don't care, but inclined to approve" and "don't care, but
inclined to disapprove") could ever be tallied in a meaningful way. 
They're both "don't cares."

> D: -1  # ditto
> no change: +1 means what?

I think you missed his whole point.  He was suggesting a voting process
something like this:

A: no change
B: if C: x else: y
C: x if C else y
D: C ? x ! y
E: C ?? x !! y
[and so on]

That is, there are many alternatives, one of them is "no change."  When
people submit their vote, they can submit as many alternatives as they
wish.  Then you simply tally the results.  This has the benefit of
allowing people to express opinions like, "Well, I'd be willing to
accept any of these three syntaxes" or "Well, I really don't think it's
necessary, but if it's going to get admitted, I'd want _this_ syntax."

Quite frankly, I think Andrew's hit the nail on the head.  This really
sounds like they way to go, since it eliminates the question of
fracturing communities _and_ allows people to simultaneously vote for
several alternatives (internally I was thinking of something more like
listing the alternatives and saying, "Choose one to three, and rank
them," but I think this works much better).

 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ In wildness is the preservation of the world.
\__/ Henry David Thoreau
    PyUID / http://www.alcyone.com/pyos/uid/
 A module for generating "unique" IDs in Python.

More information about the Python-list mailing list