4 ms·
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 restricti
by feanaro 6y 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.