Ruby [链接] Consider static typing

jiyinyiyong · 2015年05月04日 · 最后由 jiyinyiyong 回复于 2015年05月06日 · 2694 次阅读

先看介绍:

Matz announced in his RubyConf 2014 keynote that Ruby 3.0 might have a static type system. What does that really mean? How should we feel about it? Will Ruby 3.0 still be Ruby? In this article I’ll unpack what Matz said and make some educated guesses at what it tells us about the future of the language.

http://codon.com/consider-static-typing

我好像有点混淆了,原来发布时间是二月份的... 但是 Ruby 要是真的加静态类型,也算大新闻吧

Published at 1:30pm on Thursday 5th February 2015.

ruby 不会加入 static type 的,倒是想在将来加入 soft type,可以看 matz 在 RubyKaigi 2014 的演讲 Keynote - Coming soon... - RubyKaigi 2014 ,从 17 分钟开始(为了回答你这问题我又重新看了一遍)

好文章。

这里还有一篇文章链接,也是想跟 Matz 探讨一下 type systems 这件事。 An open letter to Matz on Ruby type systems

原来 Y Combinator 还真的把静态类型给难住了.. http://stackoverflow.com/a/5886279/883571 http://rosettacode.org/wiki/Y_combinator

#4 楼 @deathking 我挺想知道 Softing Type 跟 Gradual Typing, 还有 Julia 使用的那个类型系统之间是什么区别的?

jasl 申请删帖 提及了此话题。 06月04日 15:19
需要 登录 后方可回复, 如果你还没有账号请 注册新账号