High Order Messages in Python
Alex Martelli
aleaxit at yahoo.com
Mon Oct 24 00:06:22 EDT 2005
More information about the Python-list mailing list
Mon Oct 24 00:06:22 EDT 2005
- Previous message (by thread): High Order Messages in Python
- Next message (by thread): High Order Messages in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
bonono at gmail.com <bonono at gmail.com> wrote: > could someone enlighten me what is the advantage of block over named > function ? > > One thing that I can see a difference may be lexical scope ? "Yes, but" -- according to the latest Ruby book, the "mixed lexical scope" of blocks is a highly controversial notion in the Ruby community; so I wouldn't necessarily count it as an _advantage_ of Ruby blocks... Alex
- Previous message (by thread): High Order Messages in Python
- Next message (by thread): High Order Messages in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list