expecting simple variable 期望简单变量
Comparing a variable having an atomic value (number, Boolean, or string) to another such variable or a literal atomic value, and expecting the type of one to be cast automatically to the other type.
把包含原子值(数字、布尔值或字符串)的变量和另一个此类变量或者文字原子值比较,希望一种类型自动转换成另一种类型。
While any freshman science major knows you cannot multiply "50 meters per second" by "30 seconds" and shove it a variable expecting "kg-meters/second", most programming languages aren't so smart.
虽然任何科学专业的新手都知道,你不能把“50 米/秒”和“30 秒”相乘来推导出一个单位是“kg-meters/second”的变量,但是大多数编程语言却不是这样聪明。
Because I might have written some code in which I'm expecting that integer particular variable to have an integer value.
因为我可能写了一些代码,来把一些,变量的类型,指定为。
应用推荐