V2EX  ›  英汉词典

Statically Typed

释义 Definition

“静态类型(的)”:指一种编程语言的类型系统,在编译时就确定并检查变量、表达式等的类型;类型错误通常能在程序运行前被发现。(也可泛指“具有静态类型系统的”语言特性。)

发音 Pronunciation (IPA)

/ˈstætɪkli taɪpt/

例句 Examples

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.
由于这套代码是静态类型的,编译器能在部署前捕获许多函数参数类型不匹配的问题,从而减少运行时漏洞。

词源 Etymology

statically 来自 static(“静态的”)+ 副词后缀 -ly,表示“以静态方式”;typedtype(“类型”)的过去分词形式,表示“被标注/归类为某种类型的”。合起来强调“类型在运行前就被固定并检查”。(与 dynamically typed “动态类型”相对。)

相关词 Related Words

文学与著作中的用例 Literary Works

  • Types and Programming Languages(Benjamin C. Pierce)
  • The Rust Programming Language(Steve Klabnik & Carol Nichols)
  • Effective Java(Joshua Bloch)
  • Programming in Haskell(Graham Hutton)
  • Practical Foundations for Programming Languages(Robert Harper)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1035 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 17:09 · PVG 01:09 · LAX 09:09 · JFK 12:09
♥ Do have faith in what you're doing.