News for hackers. Stuff that matters.
Re:Ask HN: What does Ruby have that Python doesn't? by tptacek on Friday August 22, 2008 @06:40PM (#284281)
I think the "can't be bound to a variable" thing is a bit of a red herring too, especially if you're OK with Lisp and Javascript's syntax --- you can create a full-fledged Proc object with "lambda" any time you want.

The inconsistency is annoying, but 99.999% of the time, Ruby is actually giving you what you want.

Re:Ask HN: What does Ruby have that Python doesn't? by aconbere on Friday August 22, 2008 @07:48PM (#284326)
Right, it just doesn't seem to be Ruby style, and it would be nice to be able to use the "pretty" block syntax to accomplish that.