As this column s installments on functional programming have observed , the recipe style of program flow is comparatively error - prone and difficult to maintain 正如本專欄關(guān)于函數(shù)型編程的部分文章中所評述的,程序流的方法風(fēng)格相對來說容易出錯并且難以維護(hù)。
In this article , i will explore the potential of incorporating elements of a different programming methodology into your java development practices ; namely that of functional programming 在本文中,我將探討在java開發(fā)實(shí)踐中加入不同的編程方法即函數(shù)編程( fp ) 。
Generally speaking , however , functional programming can be viewed as style of programming in which the basic method of computation is the application of functions to arguments 然而,一般來說,函數(shù)式編程可被看做一種編程風(fēng)格,其基本的計(jì)算方法是參數(shù)到函數(shù)的應(yīng)用。
In functional programming , the programmer is given a natural framework for developing smaller , simpler , and more general modules , which are then glued together 在函數(shù)編程中,編程人員有一個天然框架用來開發(fā)更小的、更簡單的和更一般化的模塊,然后將它們組合在一起。
In later columns , we will look at more advanced techniques for functional programming ; and hopefully we will be able to explore some more of the pros and cons of functional styles 剩下的比以前(這節(jié)的題目是個小玩笑;可惜的是,它的概念在文章內(nèi)沒能解釋)更少(可能更簡單? ) 。
Functional programming , montreal , canada , 2000 , pp . 11 - 22 . 16 dongxi liu , zhenjiang hu , masato takeichi . an environment for maintaining computation dependency in xml documents 雖然設(shè)計(jì)cschema的目的是為了描述xml的降級訪問控制策略,但是它已可以用來維護(hù)xml文檔中的計(jì)算依賴關(guān)系。
Taking advantage of the higher - order combinatorial functions that a functional programming language like haskell allows , you can arbitrarily combine multiple filters in specifying output 利用象haskell函數(shù)性編程語言中允許的高階組合函數(shù),您可以在指定的輸出中任意組合多個過濾器。
The problem for java developers is that the functional programming paradigm has long been implemented only via specialized languages such as haskell , scheme , erlang , and lisp Java開發(fā)人員的問題是,函數(shù)編程范型長期以來只是通過像haskell 、 scheme 、 erlang和lisp這樣的特殊語言實(shí)現(xiàn)的。
It is both a strong functional programming language and by virtue of its object - oriented and modularized architecture an excellent language for developing large applications 它既是一種強(qiáng)壯的函數(shù)型程序設(shè)計(jì)語言,又是(由于其面向?qū)ο蠛湍K化的體系結(jié)構(gòu))開發(fā)大型應(yīng)用程序的出色語言。
Since this type of development is inherent to the functional programming paradigm , it seems natural to use functional programming techniques when developing modular code on the java platform 由于這種類型的開發(fā)繼承了函數(shù)編程范型,在java平臺上開發(fā)模塊化代碼時(shí)使用函數(shù)編程技術(shù)應(yīng)是很自然的事。
In computer science, functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data. It emphasizes the application of functions, in contrast to the imperative programming style, which emphasizes changes in state.