Are there any static duck-typed languages?

前端 未结 15 1052
我寻月下人不归
我寻月下人不归 2020-12-14 10:12

Can I specify interfaces when I declare a member?

After thinking about this question for a while, it occurred to me that a static-duck-typed language might actually

15条回答
  •  执念已碎
    2020-12-14 10:28

    Sounds like Mixins or Traits:
    http://en.wikipedia.org/wiki/Mixin http://www.iam.unibe.ch/~scg/Archive/Papers/Scha03aTraits.pdf

提交回复
热议问题