タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

pythonとPythonとamazonに関するrawwellのブックマーク (2)

  • Amazon Sign-In

    rawwell
    rawwell 2009/06/13
    "Written by Python Experts who have developed complex applications with IronPython, this excellent book covers IronPython 2 and provides several code examples illustrating how faithful IronPython 2 is to Python 2.5 and how .Net and Python concepts map to each other. The diverse examples range from s
  • クロージャが何んだか解らないのでPythonでやってみた - 牌語備忘録 -pygo

    訂正:コードがクロージャではなかったので書き直してみた クロージャは、プログラミング言語において引数以外の変数を実行時の環境ではなく、自身が定義された環境(静的スコープ)において解決する関数のことである。関数とそれを評価する環境のペアであるともいえる クロージャ - Wikipedia う〜んよくわからん(´・ω・`) 例(javascript) function newCounter() { var i = 0; return function() { // 無名関数 i = i + 1; return i; } } c1 = newCounter(); alert(c1()); // 1 alert(c1()); // 2 alert(c1()); // 3 alert(c1()); // 4 alert(c1()); // 5 クロージャ - Wikipedia Python 『Py

    クロージャが何んだか解らないのでPythonでやってみた - 牌語備忘録 -pygo
    rawwell
    rawwell 2009/03/21
    "クロージャは、プログラミング言語において引数以外の変数を実行時の環境ではなく、自身が定義された環境(静的スコープ)において解決する関数のことである。関数とそれを評価する環境のペアであるともいえる"
  • 1