“静态类型(的)”:指一种编程语言的类型系统,在编译时就确定并检查变量、表达式等的类型;类型错误通常能在程序运行前被发现。(也可泛指“具有静态类型系统的”语言特性。)
/ˈstætɪkli taɪpt/
I prefer statically typed languages for large projects.
我更喜欢在大型项目中使用静态类型语言。
Because the codebase is statically typed, the compiler can catch many mismatched function arguments before deployment, reducing runtime bugs.
由于这套代码是静态类型的,编译器能在部署前捕获许多函数参数类型不匹配的问题,从而减少运行时漏洞。
statically 来自 static(“静态的”)+ 副词后缀 -ly,表示“以静态方式”;typed 是 type(“类型”)的过去分词形式,表示“被标注/归类为某种类型的”。合起来强调“类型在运行前就被固定并检查”。(与 dynamically typed “动态类型”相对。)