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

双语例句原声例句权威例句

  • When designing new language features, it's hard to predict what developers will do with them, how they will change coding patterns, or in what ways developers will be frustrated by their shortcomings.

    在设计新语言功能时,很难预测开发人员将用它们做什么、它们将如何变更编码模式或者哪些方法会使开发人员在它们的缺点上受挫。

    youdao

  • This enables what I like to dub progressive programming, which enables a level of quality checking during coding — it's hard to get much earlier!

    这就促成了我称为渐进编程的编程方式,在这种方式下,允许在编码过程中进行一定程度的质量检验——再也不能比这个更早了!

    youdao

  • Sometimes it is hard for us to extract ourselves from coding and then see the “big picture”.

    对程序员来说,将自己从代码中抽身出来,以整体的眼光看待问题有时很难。

    youdao

更多双语例句
  • 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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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