静态类型的语言既可以有强类型,也可以有弱类型;而动态类型系统通常是强类型的,但也不完全是。
Statically typed languages can have strong or weak typing; dynamically typed systems are usually, though not exclusively, strongly typed.
比如说,重力可能会稍微强一些,或者强很多,或者弱一些。
Gravity (for example) could have been slightly stronger, or alot stronger, or slightly weaker.
应该考虑对遗留代码进行重构,以确保接口为强类型;或构建中介,以使用强类型接口包装弱类型接口。
You should consider either refactoring your legacy code to ensure that interfaces are strongly typed or building a mediation that will wrapper the weakly typed interface with a strongly typed one.
" "Do I have high self-esteem or low self-esteem?" Irrelevant.
我的自尊是较强的还是较弱的。
应用推荐