Imperative vs Functional
design thinking programmingDifference between Imperative languages and Functional languages:
-
Imperative languages are based on assignment sequences whereas functional languages are based on nested function calls.
-
In imperative languages, the same name may be associated with several values, whereas in functional languages a name is only associated with one value.
-
Imperative languages have fixed evaluation orders whereas functional languages need not.(1)
-
In imperative languages, new values may be associated with the same name through command repetition whereas in functional languages new names are associated with new values through recursive function call nesting.
Read more...