Is my understanding of type systems correct?

前端 未结 8 2108
花落未央
花落未央 2020-12-13 05:23

The following statements represent my understanding of type systems (which suffers from too little hands-on experience outside the Java world); please correct any errors.

8条回答
  •  一个人的身影
    2020-12-13 06:09

    I agree with the others who say "there doesn't seem to be a hard and fast definition here." My answer tends to be based on how much rope the language gives you WRT types. If you can pretty much fake anything you want, then it's weak. If it really doesn't let you get yourself into trouble, even if you want to, it's strong.

    I really haven't seen too many languages that skirt this border, so I can't say that I've ever needed a better definition that that...

提交回复
热议问题