Top Topics
-
Sleep
852 recent check-ins -
LAK at NJD 05/30/2012
468 recent check-ins -
NBA Playoffs
365 recent check-ins -
Boston Celtics
346 recent check-ins -
Coffee
255 recent check-ins
-
Your Review
Loading - Loading
5 people checked-in to Functional programming on GetGlue
Check-in to entertainment with GetGlue. Connect with friends, discover new favorites, and unlock FREE stickers and discounts.
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. Functional programming has its roots in the lambda calculus, a formal system developed in the 1930s to investigate function definition, function application, and recursion.
Many functional programming languages can be viewed as embellishments to the lambda calculus. In practice, the difference between a mathematical function and the notion of a "function" used in imperative programming is that imperative functions can have side effects, changing the value of already calculated computations. Because of this they lack referential transparency, i.e. the same language expression can result in different values at different times depending on the state of the executing program.
Conversely, in functional code, the output value of a function depends only on the arguments that are input to the function, so calling a function f twice with the same value for an argument x will produce the same result f(x) both times. Eliminating side-effects can make it much easier to understand and predict the behavior of a program, which is one of the key motivations for the development of functional programming. Functional programming languages, especially purely functional ones, have largely been emphasized in academia rather than in commercial software development.
However, notable functional programming languages used in industry and commercial applications include Erlang, OCaml, Haskell, Scheme and domain-specific programming languages like R (statistics), Mathematica (symbolic math), J and K (financial analysis), and XSLT (XML). Widespread declarative domain specific languages like SQL and Lex/Yacc, use some elements of functional programming, especially in eschewing mutable values. Spreadsheets can also be viewed as functional programming languages.
Programming in a functional style can be accomplished in languages that aren't specifically designed for functional programming, including C, C++, Python, or Java.
Similar to 0 things you like:
Sleep
LAK at NJD 05/30/2012
NBA Playoffs
Boston Celtics
Coffee
Check-in to entertainment with GetGlue. Connect with friends, discover new favorites, and unlock FREE stickers and discounts.
You can edit this page because you have earned special privileges on Glue.
Only make changes if you are certain that they are correct.
Made in New York City | Copyright 2009-2012, AdaptiveBlue, Inc