随着函数式编程风格崭露头角,你们觉得这种这种范式是否会走进未来PHP的世界?
With the emergence of the functional style of programming, do you see features from this paradigm going into some future of PHP?
然而,有些项目采用了支持这些抽象的语言(不管它们是否为函数式语言),在其中我观察到了编码风格的一个重大改变。
However, I've noticed a significant change in coding style on projects using languages that support these abstractions (whether they are functional languages or not).
Scala旨在提供一种编程语言,能够统一和一般化分别来自面向对象和函数式两种不同风格的关键概念。
Scala aims at providing a programming language which unifies and generalizes key concepts from both object-oriented and functional styles.
这就是所谓的驼峰式大小写风格(camelcasing),是Python和其他编程语言中广泛采用的一种技术,可使函数的名称更易阅读。
This approach is known as camel casing and is a popular technique used in Python (and other languages) to make it easier to read the names of functions.
要使用函数性语言,只需要放弃命令式编程的风格。
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.
本文中的例子使用的是面向对象的风格,但使用函数式方式可以获得同样的结果。
The examples in this article use the object-oriented style, but you can obtain the same results using a functional approach.
本文还研究了R的函数式程序设计风格可以如何有助于加速模式、数据和分析情形的的探索。
This installment also explored how r's functional programming style AIDS in rapid exploration of patterns and data and analytic scenarios.
Ocaml被选中的一部分原因是,它支持函数式、命令式和面向对象的混合编程风格。
OCaml as was chosen a basis in part because it supports a mix of functional, imperative, and object-oriented programming styles.
Ocaml被选中的一部分原因是,它支持函数式、命令式和面向对象的混合编程风格。
OCaml as was chosen a basis in part because it supports a mix of functional, imperative, and object-oriented programming styles.
应用推荐