【カルト】Ruby開発者Matz【モルモン】at PROG
【カルト】Ruby開発者Matz【モルモン】 - 暇つぶし2ch855:仕様書無しさん
08/05/27 15:30:13
まっつんがGuidoに言ってたlambda式の拡張、"just plain ugly"で一刀両断ですなあ。

pep-3099
URLリンク(www.python.org)

lambda will not be renamed.
At one point lambda was slated for removal in Python 3000. Unfortunately no one was
able to come up with a better way of providing anonymous functions. And so lambda is
here to stay.

But it is here to stay as-is. Adding support for statements is a non-starter. It would
require allowing multi-line lambda expressions which would mean a multi-line
expression could suddenly exist. That would allow for multi-line arguments to function
calls, for instance. That is just plain ugly.


次ページ
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch