不是使用硬编码的默认值,程序可以使用用户以前的设置作为默认值,这样更可能是用户所希望的。
Instead of choosing a hard-wired default, the application can use the previous setting as the default, and it will have a much better chance of giving a user what he wanted.
这里的想法就是要避免复制代码以及硬编码。
例如,如果您有五种不同的COBOL数据结构,您将编写五个特定于格式的解析器,并将格式信息硬编码到解析器程序代码中。
For example, if you have five different COBOL data structures, you write five format-specific parsers, with the format information hard-wired into the parser program code.
对于企业CA签发的证书,其有效期限硬编码在用来创建证书的模板中。
For certificates that are issued by Enterprise CAs, the validity period is defined in the template that is used to create the certificate.
遗留系统、性能和其他QoS特性可能会阻碍使用最优的访问机制:不管是纯服务、硬编码连接或混合方法。
Legacy systems, performance, and other QoS attributes will tend to be constrained to use the most optimal access mechanism: whether pure services, hard-wired, or hybrid.
硬,飞机铝阳极氧化膜的质量使SL56最艰难的,但最轻和c -面编码器可用。
Hard, anodized aluminum of aircraft quality makes the SL56 the toughest, yet lightest, C-Face encoder available.
例如,硬绑定允许运行时对指向依赖本机映像的指针进行编码,这将产生精简的工作集。
For example, hard binding allows the runtime to encode Pointers to dependent native images, which results in a reduced working set.
例如,硬绑定允许运行时对指向依赖本机映像的指针进行编码,这将产生精简的工作集。
For example, hard binding allows the runtime to encode Pointers to dependent native images, which results in a reduced working set.
应用推荐