对应于函数式语言是像C这样的命令式语言(imperative programming language),lambda表达式就更像一个外来户,更多的只是提供一种不用名字建立函数的方法。嗯.
基于8个网页-相关网页
它们提供了命令式语言通常不提供的一些工具。
They provide some tools that imperative languages usually don't.
在命令式语言中,输入相同而可能返回不同值的方法,都有副作用。
In imperative languages, any method that can possibly return different values, given the same input, has side effects.
函数为流程构建了功能模块,并具有传统命令式语言中所不具有的一些功能。
Functions form the building blocks for processing and are imbued with several features not found in traditional imperative languages.
应用推荐