Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
syspec
· 5y ago · 0 comments
Ah, so it's the same then
Comments
[–]
feanaro
5y 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.
[–]
zwp
5y ago
What are the restrictions on passing around a ruby `Method` object?
(Please see my sibling comment for example).
[–]
burlesona
5y ago
There is no practical difference in Python functions and Ruby lambdas.