News for hackers. Stuff that matters.
Re:The Next Big Language by KirinDave on Wednesday January 26, 2011 @01:44PM (#2144430)
While I'm not sure Scala is the Language of the Future™, it's relevant to this discussion to point out that the method_missing hacks that make ruby's dynamic typing so attractive are being actively prototyped in Scala.

An example snippet: https://gist.github.com/783394

The implementation: http://lampsvn.epfl.ch/trac/scala/changeset/23993

Re:The Next Big Language by bguthrie on Wednesday January 26, 2011 @03:23PM (#2144969)
For what it's worth, and a bit OT, I find method_missing to be the least appealing part of Ruby's runtime dynamism. What _is_ helpful is to be able to add methods on the fly (e.g., through define_method); on the other hand, being able to handle arbitrary messages (which is what method_missing does) is occasionally interesting (as with Rails' dynamic finders) but generally considered bad form given that there are clearer and more performant alternatives.
Re:The Next Big Language by KirinDave on Wednesday January 26, 2011 @07:21PM (#2145951)
I only mention the method_missing because most modern languages have fairly good answers to the "safely extend a type" problem, without succumbing to the problems that languages like Ruby suffer.