[EMAIL PROTECTED] wrote:
> Compared to the Python I know and love, Ruby isn't quite the same.
> However, it has at least one terrific feature: "blocks".

Well, I particularly like how Boo (http://boo.codehaus.org) has done
it:

  func(a, b, c) def(p1, p2, p3):
    stmts

I was so attached to these "nameless" def-forms that I was even shocked
when I found that this doesn't work in python:

  f = def(a, b):
    return a*b

Another good feature of Boo, btw.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to