the death of lecter

Grant Griffin g2 at seebelow.org
Tue Sep 12 16:46:10 EDT 2000


Erik Max Francis wrote:
> 
> Michal Wallace wrote:
> 
> >    * immediate if:
> >          print 'x is', x > 0 ? 'positive' : 'negative'
> >
> >      # I still wish we had a ?: operator..
> >      # It would be great for lambdas!
> 
> Yeah, an if-else operation compacted into an operator would be rather
> convenient.

I guess I would vote against this: after all, as Tim's Python philosophy
says "readability counts", and IMHO, this is the singlemost unreadable
construct in all of C.

i'm-just-now-becoming-halfway-comfortable-with-it-after-10-years-of
   -writing-C-ly y'rs,

=g2
-- 
_____________________________________________________________________

Grant R. Griffin                                       g2 at dspguru.com
Publisher of dspGuru                           http://www.dspguru.com
Iowegian International Corporation	      http://www.iowegian.com



More information about the Python-list mailing list