Python Indentation

I like Python’s notion of using indentation instead of braces. All it does is force you to be consistent with yourself. Not a big deal, and it produces very reasonable code. I was very amused to see this however:

  % python
  Python 2.4.3 (#2, Mar 31 2006, 09:12:16)
  [GCC 3.4.4 [FreeBSD] 20050518] on freebsd6
  Type "help", "copyright", "credits" or "license" for more information.
  >>> from __future__ import braces
    File "<stdin>", line 1
  SyntaxError: not a chance


It’s the penultimate day before d.Construct 2006! If ever you needed an excuse to come and visit Brighton, this is it. The gig is sold out, but come on down anyway; there’s still plenty going on! If you want to know who’s going to be around, check out the backnetwork—a cool app for the attendees to figure it all out.

Even if you can’t make it, you might want to check out the d.Construct podcasts that Jeremy has been making in the runup. Last year, they hosted MP3’s of the speakers as a podcast after the event and I reckon they’ll show up again this year.