Restrictons of Python compared to Ruby: lambda's
Posted
by Shyam
on Stack Overflow
See other posts from Stack Overflow
or by Shyam
Published on 2010-04-16T16:02:49Z
Indexed on
2010/04/16
16:13 UTC
Read the original article
Hit count: 192
Hi,
I was going over some pages from WikiVS, that I quote from:
because lambdas in Python are restricted to expressions and cannot contain statements
I would like to know what would be a good example (or more) where this restriction would be, preferably compared to the Ruby language.
Thank you for your answers, comments and feedback!
© Stack Overflow or respective owner