go top

引入常量

网络释义

  Introduce Constant

这里10其实是多项式最高可能的次数,我们可以用 引入常量Introduce Constant) 这一重构手段将魔法数转换为清晰的常数。在10出现的地方选择智能标记的“Introduce Constant”菜单,Refactor!

基于28个网页-相关网页

有道翻译

引入常量

Introduction constant

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句原声例句

  • 引入软件分析设计中的一个常量变更

    This introduces the one constant in software analysis and design: change.

    youdao

  • 变量同样需要小心使用它们恰恰引入一部分讨论常量命名最好工具

    Class variables must also be used with care, but they are precisely the right tool for introducing names for constants, as discussed in the following section.

    youdao

  • PHP V5.3引入名称空间php常量函数提供上下文一种方式从而可以使用相同名称元素看作惟一的

    Namespaces - introduced in PHP V5.3 - are a way of giving your PHP classes, constants, and functions context so that elements with the same names can be understood as being unique.

    youdao

更多双语例句
  • We introduced a feature of C called a constant, but how many quizzes did I assume every student has?

    我们引入一个C的特性,叫做常量,但是我能假设每个学生做了多少测验呢?

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

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

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

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