V2EX  ›  英汉词典
Enqueued related words: Autogenerate

Codegen

释义 Definition

codegen(常用于技术语境)指“代码生成”:通过工具或程序自动生成源代码(如 API 客户端、数据模型、序列化代码、脚手架代码等),以减少重复劳动并降低人为错误。也常作为 code generation 的口语/缩写用法。

发音 Pronunciation

/ˈkoʊdʒɛn/

例句 Examples

The project uses codegen to create API clients automatically.
这个项目使用代码生成来自动创建 API 客户端。

By adding codegen to the build process, the team minimized boilerplate and kept the data models consistent across services.
通过把代码生成集成进构建流程,团队减少了样板代码,并让各个服务之间的数据模型保持一致。

词源 Etymology

来自 code(代码)+ gen(generation“生成”的缩写)。在工程实践中常用作名词,表示“代码生成工具/步骤/机制”,属于软件开发领域的行话。

相关词 Related Words

文学与著作 Literary Works

  • Compilers: Principles, Techniques, and Tools(常称“龙书”):讨论编译器中的 code generation(代码生成)阶段。
  • Modern Compiler Implementation in C:以实现为导向讲解“代码生成/后端”的核心思路与示例。
  • Crafting Interpreters:涉及从语法树到字节码/目标表示的生成过程,与 codegen 概念密切相关。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   759 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 19:58 · PVG 03:58 · LAX 11:58 · JFK 14:58
♥ Do have faith in what you're doing.