[表示 : 全て 最新50 1-99 101- 201- 301- 401- 501- 601- 701- 801- 901- 2chのread.cgiへ]
Update time : 05/15 08:41 / Filesize : 218 KB / Number-of Response : 961
[このスレッドの書き込みを削除する]
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧] [類似スレッド一覧]


↑キャッシュ検索、類似スレ動作を修正しました、ご迷惑をお掛けしました

プログラミング言語 Scala 3冊目



74 名前:デフォルトの名無しさん mailto:sage [2010/02/09(火) 00:39:25 ]
>>68
この提案、FANTOM(Fan)の作者が指摘した内容そのままなのかw
Lex Spoonとかコメント書き込んでるんだw

■Fan vs Scala: Different Trade-offs ( fantom.org/sidewalk/topic/675 )
> 『Slot Reflection』
> One of major design decisions Fan made a long time ago was to disallow method overloading.
> Method overloading is the kiss of death for easy reflection and meta-programming. In Fan any
> slot can be identified with the qualified name pod::Type.slot. Slot literals are built into the language:

> m := List#join // same as Slot.findMethod("sys::List.join")

> Languages like Java or Scala which support method overloading require the parameter types in
> order to perform method reflection. Identifying methods strictly by name is also a key enabler
> for efficient dynamic dispatch. This is a trade-off Fan and Scala have made differently - Fan
> took away a Java feature in order to simplify reflection and dynamic dispatch.






[ 続きを読む ] / [ 携帯版 ]

全部読む 次100 最新50 [ このスレをブックマーク! 携帯に送る ] 2chのread.cgiへ
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧]( ´∀`)<218KB

read.cgi ver5.27 [feat.BBS2 +1.6] / e.0.2 (02/09/03) / eucaly.net products.
担当:undef