Why doesn't ActionScript have “generics”?

前端 未结 4 1049
死守一世寂寞
死守一世寂寞 2020-12-18 18:14

Can anyone tell me why ActionScript 3, a statically typed language, doesn\'t have generics? Is it too much work? A historical thing? Is there some way to \"fake\" it that I

4条回答
  •  一个人的身影
    2020-12-18 18:48

    Let's first get proper containers and algorithms in actionscript and then worry about generics...

    as3 is not very different from javascript, btw, so your question would kind of apply to JS as well.

提交回复
热议问题