go top

Hard coding

  • 写死(硬编码是指在源代码中直接以常量的方式书写相关参数,而非在运行时期由外界指定的设置。它被认为是一种反模式或不完美的实现,但有时也是必要的手段,可以缩短开发时间)

网络释义英英释义

  硬编码

...五年中,他俩一直致力于研究稳定性和可维护性,并发誓一定要调试到出错率满足预期的情况才停止,绝对不允许hard coding(硬编码)的情况发生。在与我们公司合作的最后一次精密零件的供应支持下,这个项目终于初见成效了。

基于2232个网页-相关网页

短语

hard-coding 硬编码

No hard coding please 硬编码

Hard coding

  • abstract: Hard coding (also, hard-coding or hardcoding) refers to the software development practice of embedding what may, perhaps only in retrospect, be regarded as input or configuration data directly into the source code of a program or other executable object, or fixed formatting of the data, instead of obtaining that data from external sources or generating data or formatting in the program itself with the given input.

以上来源于: WordNet

原声例句权威例句

  • Why not write the program in a way where you figure out dynamically when the program is run how much memory you need rather than hard coding in two with or within that constant.

    为什么不写一个可以动态的方式写那个程序,程序可以动态分配内存,而不是用常量硬编码两个值。

    哈佛公开课 - 计算机科学课程节选

更多权威例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定