KBD

Keith Devens .com

Sunday, July 20, 2008 Flag waving
Lisp is worth learning for the profound enlightenment experience you will have when you finally get it; that experience will... – Eric S. Raymond
← Back in TennesseeMark Steyn on the Alito hearings →

Daily link icon Monday, January 16, 2006

Python 2.5 gets conditional expression

Python 2.5 is getting a conditional expression (via LtU). Guido: "After a long discussion I've decided to add a shortcut conditional expression to Python 2.5." But it's ugly! The condition doesn't go first!

← Back in TennesseeMark Steyn on the Alito hearings →

Comments XML gif

Jürgen wrote:

It's ugly, and doesn't feel "a good match" for Python, because, since the condition isn't first, it reads so different from all the rest of the code.

Yes, it's still Guido's language... so we have to live with his stupid decisions as much as with his good ones (stupid decisions? str.join(), as the most horrible example).

∴ Jürgen | 29-Apr-2006 7:13am est | #9427

Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

July 2008
SunMonTueWedThuFriSat
 12345
6789101112
13141516171819
20212223242526
2728293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

Spider solitaire

To answer an earlier question, I am​almost certain every game can be​beat. ...

Jared: Jul 16, 2:20pm

I hate Norton Antivirus

I HATE NORTON ANTIVIRUS IT SUCKS I​GOT AVG IT ROX! AGES TO DELETE​NORTON AN...

wade: Jul 15, 1:44am

Generated in about 0.119s.

(Used 8 db queries)

mobile phone