Interesting talk on Python vs. Ruby and how he would like Python to have just a bit more syntactic flexibility.

Jonathan Gardner jgardner at jonathangardner.net
Wed Feb 17 20:04:00 EST 2010


On Feb 17, 12:02 am, Lawrence D'Oliveiro <l... at geek-
central.gen.new_zealand> wrote:
> In message <60b1abce-4381-46ab-91ed-
>
> f2ab2154c... at g19g2000yqe.googlegroups.com>, Andrej Mitrovic wrote:
> > Also, lambda's are expressions, not statements ...
>
> Is such a distinction Pythonic, or not? For example, does Python distinguish
> between functions and procedures?

Not to the programmer, no. Callables are callable, no matter what they
are, and they are all called the same way.

(What the heck is a procedure, anyway? Is this different from a
subroutine, a method, or a block?)



More information about the Python-list mailing list