词义:hardcode表示将特定的数值、命令、功能,以硬编码的方式写入代码中,而非将其作为参数或配置文件传递。hardcode也可指计算机程序中的一些固定信息或规则。
词性:动词
词组搭配:hardcode something into something(将某物硬编码到某物中)
短语:N/A
发音拼写:/hɑːrdkəʊd/
中英例句:
1. It's not a good practice to hardcode values into the code, as it makes it difficult to change them in the future.(将数值硬编码到代码中不是一个好的做法,因为这会使将来更改它们变得困难。)
2. The software vendor hardcoded a backdoor into the program, which allowed hackers to gain unauthorized access.(软件供应商将后门硬编码到程序中,这使得黑客得以未经授权访问。)
3. Don't hardcode the IP addresses in your script, as they may vary depending on the environment.(不要在脚本中硬编码IP地址,因为它们可能会因环境而异。)
4. In order to customize the application, you need to remove all the hardcoded parameters from the code.(为了定制应用程序,您需要从代码中删除所有的硬编码参数。)
5. Hardcoding the data instead of using variables may simplify the code, but it also makes it less flexible.(将数据硬编码而不是使用变量可能简化代码,但它也使其不够灵活。)
翻译:硬编码;读音:hàrd còde;
例句:
1. 这个程序中的数字都是硬编码的,需要改进。
The numbers in this program are all hardcoded and need to be improved.
2. 如果你将密码硬编码在程序中,那么别人就很容易破解。
If you hardcode passwords in your program, it will be easy for others to crack it.
hardcode的中文解释是"硬编码、硬编码的",其中文解释还有"硬写"的意思,发音音标为[hardcode],在英语中以动词出现较多,在《在线英语词典》中,共找到44个与hardcode相关的例句。
Hardcode的词典翻译
1.硬编码
例句:Antipattern: Some hardcode these values, manually, for each of the target environments, or they might use GUI tools to do the same. (反模式:一些团队为每个目标环境手工硬编码这些值,或者使用GUI工具执行同样的工作。)
2.硬编码的
例句:Previously, answering questions like these required developers to hardcode complex logic into their applications. (以前,回答这样的问题要求开发人员在他们的应用程序中硬编码复杂的逻辑。)
3.硬写
例句:You could also hardcode the dataset if it was constant and relatively small, such as the list of states in the United States. (如果数据集比较小,您还可以不断加强它,例如美国的州列表。)
4.网络、硬写
例句:Since this sender code is running in a J2EE client application, we do not hardcode the names of the JMS resources that are used. (翻译:因为发送者代码在J2EE客户端应用程序中运行,所以我们无法对所用的JMS资源的名称进行硬编码。)
例句
1. You could also hardcode the dataset if it was constant and relatively small, such as the list of states in the United States. (翻译:如果数据集比较小,您还可以不断加强它,例如美国的州列表。)
2. Since this sender code is running in a J2EE client application, we do not hardcode the names of the JMS resources that are used. (翻译:因为发送者代码在J2EE客户端应用程序中运行,所以我们无法对所用的JMS资源的名称进行硬编码。)
3. These artifacts hardcode a default endpoint address to be used by the requestor. (翻译:这些构件就硬编码一个默认的被请求程序使用的端点地址。)
评论列表