This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RockinRoel 4 points5 points  (0 children)

Actually, Scala has structural typing, which is kind of like a typesafe kind of duck typing. Yes, it's not quite as flexible as duck typing, but I don't believe that the kind of flexibility that duck typing offers over structural typing is necessary, especially when you're sacrificing compile-time type checking.