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”的变量,但是大多数编程语言却不是这样聪明。
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”的变量,但是大多数编程语言却不是这样聪明。
应用推荐