From: Shugo Maeda Date: 2011-11-15T00:36:34+09:00 Subject: [ruby-core:41023] Re: [ruby-trunk - Feature #5583] Optionally typing Hi, 2011/11/15 Thomas Sawyer : > (a) plenty of other ways to define syntax. maybe best way is to separate it from def since it is optional, e.g. > > �sig foo(String) > > �def foo(string) > � �... > �end I prefer method annotations to special syntax. > (b) not sure how it can honor duck typing. i think the whole idea is to (optionally) roast the duck! FYI, Scala supports statically checked duck typing. See http://markthomas.info/blog/?p=66. -- Shugo Maeda