阅读背景:

是什么阻止了静态类型语言拥有Ruby的method_missing这样的东西?

来源:互联网 

I don't have much experience with statically typed languages (currently learning Scala and loving it!) but one thing I've noticed is that they don't ever seem to have anything like Ruby's method_missing or ColdFusion's onMissingMethod. Is there some inherent limitation in statically typed languages that prevent or make this difficult?I don't have much experience with statically ty




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: