in reply to Re: Perl fan being tempted with Python
in thread Perl fan being tempted with Python
2.1 (with nested scopes) has been out since 2001.
Your complaint about trailing commas being context dependent is just... silly. If you've a one element tuple, most people will wrap it in brackets for clarity.
Except in a few specific cases, named functions are preferred to lambdas. You can have perfectly good named closures, just not perfectly good anonymous ones (you can do anything using lambdas, but the end result is pretty disgustingly unreadable).
Blocks won't exactly be rubyish - they're to simplify resource allocation and release, and won't be used everywhere the way that ruby's blocks are.
That said, I think it's fair to say that more Perl programmers will prefer Ruby to Python.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl fan being tempted with Python
by adrianh (Chancellor) on Jun 24, 2005 at 00:59 UTC | |
by Anonymous Monk on Jun 28, 2005 at 04:17 UTC | |
by adrianh (Chancellor) on Jun 29, 2005 at 15:57 UTC |