瞎扯淡 Matz: We are not going to add any kind of type annotation to Ruby.

mizuhashi · June 17, 2016 · Last by chenjau replied at June 17, 2016 · 1487 hits

https://bugs.ruby-lang.org/issues/9999#note-13

担心 ruby 会被加上各式莫名其妙的类型标记的终于可以松口气... 不过没有类型标记怎么做类型推导呢?

该讨论页下面不是说了么,不搞语法,在注释,rdoc 等等里面搞。

You need to Sign in before reply, if you don't have an account, please Sign up first.