Search results
Results From The WOW.Com Content Network
Functional programming is very different from imperative programming. The most significant differences stem from the fact that functional programming avoids side effects, which are used in imperative programming to implement state and I/O. Pure functional programming completely prevents side-effects and provides referential transparency.
The main difference between the styles is that functional programming languages remove or at least deemphasize the imperative elements of procedural programming. The feature set of functional languages is therefore designed to support writing programs as much as possible in terms of pure functions :
The table shows a comparison of functional programming languages which compares various features and designs of different functional programming languages. Name
Functional Procedural Generic Reflective Other paradigms Standardized; 1C:Enterprise programming language: Application, RAD, business, general, web, mobile: Yes No Yes Yes Yes Yes Object-based, Prototype-based programming No ActionScript: Application, client-side, web Yes Yes Yes Yes No No prototype-based: Yes
Declarative programming stands in contrast to imperative programming via imperative programming languages, where control flow is specified by serial orders (imperatives). (Pure) functional and logic-based programming languages are also declarative, and constitute the major subcategories of the declarative category.
This page provides the comparison tables of functional programming instructions between programming languages. Comparison of basic instructions of imperative paradigm is provided by the comparison of basic instructions.
Functional programming is a subset of declarative programming. Programs written using this paradigm use functions , blocks of code intended to behave like mathematical functions . Functional languages discourage changes in the value of variables through assignment , making a great deal of use of recursion instead.
Declarative programming – describes what computation should perform, without specifying detailed state changes c.f. imperative programming (functional and logic programming are major subgroups of declarative programming) Distributed programming – have support for multiple autonomous computers that communicate via computer networks