Ian Bicking: the old part of his blog

Ruby python power comment 000

Lexically closed variables are read-only.

Wrong. Lexically closed names are read-only. That's because Python doesn't distinguish between assignment and binding.

Ruby seems to do, though. I actually find this counter-intuitive, as both assignment and binding use the same syntax.

Comment on Re: Closures
by Matthias Benkard

Comments:

I'd like to thank you for this post.

I've been reading too many inane Python Vs. Ruby monologues lately from fan boys of both camps.

This was a well-written and interesting piece.

Hehe, kind of amusing that while posting this comment, I hit a Python error. I'd post the traceback, but that seems to exacerbate the errors.

# Marc

I'd like to thank you for this post.

I've been reading too many inane Python Vs. Ruby monologues lately from fan boys of both camps.

This was a well-written and interesting piece.

Hehe, kind of amusing that while posting this comment, I hit a Python error. I'd post the traceback, but that seems to exacerbate the errors.

# Marc

I'd like to thank you for this post.

I've been reading too many inane Python Vs. Ruby monologues lately from fan boys of both camps.

This was a well-written and interesting piece.

Hehe, kind of amusing that while posting this comment, I got a Python error.

# Marc