您可能也希望从动态语言代码中获得变量的值,以通过命令行实现或者事件处理程序的方式来使用动态函数。
You may also want to get the values of variables from the dynamic language code to use dynamic functions as command implementations or event handlers.
这些语言是按命令及执行操作的函数进行编码的。
These languages are coded by command, and functions perform the actions.
nl_langinfo (CODESET)函数也是由localecharmap命令调用,从而查找当前语言环境指定的编码名称。
The nl_langinfo (CODESET) function is also what the locale charmap command calls to find the name of the encoding specified by the current locale.
函数为流程构建了功能模块,并具有传统命令式语言中所不具有的一些功能。
Functions form the building blocks for processing and are imbued with several features not found in traditional imperative languages.
函数编程方式很容易理解,但是如果您习惯了过程序和关注状态的命令式语言,可能不太容易适应它。
The functional programming approach is easy to understand, but can be difficult to apply if you are used to the more procedural and state-focused imperative languages.
不太久之前编程语言还可以毫无疑义地归类成“命令式”或者“函数式”。
Until relatively recently programming languages have fit neatly into either "imperative" or "functional" categories.
函数式编程为您提供了新的、不同的构建块,可以实现命令式语言使用其他机制实现的相同效果。
Functional programming gives you new, different building blocks to achieve the same goals that imperative languages accomplish with other mechanisms.
这意味着命令式的语言,如VB和C#,能调用主要为F#创建的函数化函数库。
This means imperative languages like VB and C# can call functional libraries created primarily for F#.
这样,测试脚本编写者在处理这里函数时,就可以把它们视为测试工具的编程语言的基本命令。
The test script writers treat these functions as if they were basic commands of the test tool's programming language.
函数性语言并不执行命令,而是通过表示、计算数学函数来解决问题。
Rather than executing commands, all functional languages express and evaluate mathematical functions to solve problems. Functional languages also usually have these two characteristics.
要使用函数性语言,只需要放弃命令式编程的风格。
To use a functional language, you just need to let go of imperative programming styles. Learning to write in a more functional style has several benefits.
要使用函数性语言,只需要放弃命令式编程的风格。
To use a functional language, you just need to let go of imperative programming styles. Learning to write in a more functional style has several benefits.
应用推荐