2009年11月2日のブックマーク (2件)

  • 実装コードゼロでPythonに抽象クラスを導入する方法

    In this story, he loses his boyish innocence and lives fully, even to excess. Googleのサーチ担当ディレクタであり、『エージェントアプローチ 人工知能』の共著者としても知られるPeter Norvig氏のエッセイ「Python IAQ」を翻訳しました。こちらに置いてあります。[参照] で、表題の件なのですが、この中に「Q:Pythonでは、1行もコードを書かずに抽象クラスを実装することができますか?4行以内なら可能ですか?」という問いがあって、そこで実現されているんですよ。これが。 僕も「なんじゃこりゃ?」と思ったのですが、ちゃんと実現しています。果たしてどんな風に? 答えは続きをどうぞ。 class MyAbstractClass: def method1(self): abstract clas

  • TechCrunch | Startup and Technology News

    When it comes to the world of venture-backed startups, some issues are universal, and some are very dependent on where the startups and its backers are located. It’s something we…

    TechCrunch | Startup and Technology News
    phound
    phound 2009/11/02
    『彼も今フェンスの上でどっちへ行こうか迷ってるのさ』 / Android が iPhone と迷うほど良くなっているみたい。うーん、いいかも Android。