• Read messages from the archives…
  • 12:49am (May 02, 2008) 26x26nowelium
  • おお、Messageについてっすか。見てみます。
  • 自分で作っておいてなんだけど、ほんと過疎ってる(笑
  • call activated については、ちょこっと(http://blog.xole.net/article.php?id=664)わかりにくいけど
  • nowelium has left
  • anatoo has joined
  • 8:59pm (May 24, 2008) 26x26anatoo
  • ww http://io-users.jp/
  • anatoo has left
  • anatoo has joined
  • 8:43pm (May 31, 2008) 26x26anatoo
  • メソッド内でのcall target と selfって一緒なんですかね?
  • anatoo has left
  • nowelium has joined
  • 1:27am (June 10, 2008) 26x26nowelium
  • メソッド内でのcall targetとselfは同じなよーな
  • Io> a := method(call target == self)
    ==> method(
    call target == self
    )
    Io> a
    ==> true
    Io> a := method(call target == self)
    ==> method(
        call target == self
    )
    Io> a
    ==> true
    
  • というのも
  • Io> b := method(call target uniqueId println; self uniqueId println)
    ==> method(
    call target uniqueId println; self uniqueId println
    )
    Io> b
    2148144
    2148144
    ==> 2148144
    Io> b := method(call target uniqueId println; self uniqueId println)
    ==> method(
        call target uniqueId println; self uniqueId println
    )
    Io> b
    2148144
    2148144
    ==> 2148144
  • uniqueIdだけでみると同一
  • やっぱりmethodとかだと、selfは呼び出し元コンテキストじゃないってことですかねー
  • # この辺がjsのthisと違っててややこしい(small talk的には正しいかもだけど)
  • nowelium has left
  • Nickname has joined
  • Nickname has left
  • dreamygirl has joined
  • 11:11pm (November 09, 2008) 26x26dreamygirl
  • hello
  • anybody here?
  • dreamygirl has left
 
日本語で iolanguage について語る部屋
timezone: Japan
privacy: public
owner: nowelium

Chatters

  • 1 chatter and 1 observer
  • 48x48anatoo