Y
Hacker News
new
|
ask
|
show
|
jobs
by
syspec
1954 days ago
Ah, so it's the same then
1 comments
feanaro
1954 days ago
Not really the same since lambda in Python is just a syntactic variant that is restricted. A function defined using `def` can be passed around without restrictions, which you simply cannot do in Ruby.
link
zwp
1954 days ago
What are the restrictions on passing around a ruby `Method` object?
(Please see my sibling comment for example).
link
burlesona
1953 days ago
There is no practical difference in Python functions and Ruby lambdas.
link