Are the languages with a sound type system a sub set of strongly typed languages? [closed]

喜欢而已 提交于 2019-12-07 10:27:41

问题


Are the languages with a sound type system a sub set of strongly typed languages?


回答1:


What is a sound type system? Do you consider static typing more "sound" than dynamic typing? Does weak typing imply the type system being "unsound"? Do you consider C or C++ to be weakly typed because they allow for a number of ad hoc type conversions?

Lua is weakly typed, but the types provided make for asonishing power. Soundness lies in the eye of the beholder.



来源:https://stackoverflow.com/questions/3915272/are-the-languages-with-a-sound-type-system-a-sub-set-of-strongly-typed-languages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!