PEP 308: "then" "else" for deprecating "and" "or" side effects

Jp Calderone exarkun at intarweb.us
Wed Feb 19 02:01:25 CET 2003


On Tue, Feb 18, 2003 at 04:42:26PM -0800, Erik Max Francis wrote:
> Jp Calderone wrote:
> 
> >   It is like saying that a race car driver is qualified to design a
> > car.
> > Are they better qualified than the average joe?  Probably.  Are they
> > as
> > qualified as an engineer at GM?  Unlikely.
> 
> (Actually, modern race car drivers are really quite involved with car
> design these days.)
> 
> Even if we take your example at face value, it's still missing a key
> point:  Just because a feature is frequently requested does _not_ mean
> that it's a bad feature.
> 
> If, using your analogy, the race car driver is not an expert and wants
> something done a certain way, that doesn't _necessarily_ mean he's
> wrong.  He could be right.  (And, actually, modern race car drivers are
> really quite involved with car design these days.)

  I did not mean to prove that the ternary operator is a bad feature because
many people request it, only that it should not be added for -only- that
reason (which was what was suggested in the post I responded to).  Other
support is necessary.

  Jp

-- 
http://catandgirl.com/view.cgi?44
-- 
 up 10 days, 4:28, 4 users, load average: 0.08, 0.07, 0.03
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030218/ac991946/attachment.pgp>


More information about the Python-list mailing list