Hard coding

美 [hɑːrd ˈkoʊdɪŋ]英 [hɑːd ˈkəʊdɪŋ]
  • 网络硬编码;写死
Hard codingHard coding
  1. Hard coding is a typical choice .

    硬编码是典型的选择。

  2. Unfortunately , when testing applications involving complex logic , data-driven testing becomes difficult to implement without hard coding .

    不幸的是,当测试应用程序陷入复杂的逻辑中时,数据驱动的测试在没有硬编码的情况下变得难以实现。

  3. Instead of hard coding strings into your application , you should store the strings in a separate file .

    不是将字符串硬编码到应用程序中,而应将这些字符串存储在单独的文件中。

  4. You may have noticed that a property file is used to avoid hard coding the EJB JNDI name and location of the application server .

    也许您已经注意到了属性文件是用于避免EJBJNDI名称的硬编码以及应用程序服务器的定位。

  5. Therefore , hard coding these policies in process is not a good idea , since it is hard to manage and maintain business rules during runtime .

    把这些策略硬编码在过程中是不合适的,因为很难在运行时管理和维护业务规则。

  6. Hard coding or even worse duplicating hardcoded values ( BOSS in Select and Start with clause ) is never a good idea .

    硬编码或更糟的重复硬编码值(比如Select语句和Startwith子句中的BOSS)绝不是一个好点子。

  7. To avoid hard coding the domain name , a default domain can be configured at the Web server within IIS when you configure Basic authentication .

    要避免对域名进行硬编码,在配置基本身份验证时,可以在IIS中的Web服务器上配置默认域。

  8. 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 .

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

  9. To avoid hard coding and duplicating hardcoded values , the CONNECT_BY_ROOT operator can be used , which always returns the value of its argument as it was during the initial step .

    要避开硬编码和重复的硬编码值,可以使用CONNECTBYROOT运算符,它总是返回其参数值,就像在初始步骤中那样。

  10. It can solve the hard problem through coding technique and breed mechanism to simulate the complex phenomenon . GA has robustness and is suited for parallel processing .

    它利用简单的编码技术和繁殖机制来表现复杂的现象从而解决非常困难的问题。