Re:What's better about Ruby than Python? - comp.lang.python
by sandal on Friday August 27, 2010 @09:18AM
(#1638704)
Well, a Method object and a Proc are two different things, but somewhat similar, so it still makes sense to discuss Proc behavior here. I would like it if this worked:
But since it doesn't, the alternatives are not too bad (though likely far too numerous for Python tastes)
I think that Ruby's ability to call methods without () make for better readability in the case of writing domain specific interfaces, but come at a cost in other places. Personally I think it's a worthwhile tradeoff but I can see the other side of the argument.
[ Parent
| on HN ]
There are no comments on this comment yet.