Defining point of functional programming -


i can enumerate many features of functional programming, when friend asked me define functional programming me? couldn't.

i defining point of pure functional programming computation done in functions no side effects. is, functions take inputs , return values, not change hidden state, in paradigm, functions more closely model mathematical cousins.

this nailed down me when started playing erlang, language write-once stack. however, should clarified there difference between programming paradigm, , programming language. languages referred functional provide number of features encourage or enforce functional paradigm (e.g., erlang it's write-once stack, higher order functions, closures, etc.). functional programming paradigm can applied in many languages (with varying degrees of pain).


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -