What's better about Ruby than Python?

Terry Reedy tjreedy at udel.edu
Mon Aug 18 11:51:45 EDT 2003


"John Roth" <newsgroups at jhrothjr.com> wrote in message
news:vk1c89jvdjepa4 at news.supernews.com...
> 4. Shortcut syntax for writing self in a method body.

If you declare the first param as 's', for instance, then your
shortcut is 's.', which is pretty minimal, and hardly enough, it seems
to me, to make much fuss over.  I like having a clean visual
separation between local variables and instance attributes.

TJR






More information about the Python-list mailing list