View Single Post
Old 11-14-2007, 08:23 AM   #4 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
Quote:
* As happycow2 states, mutable state is not allowed by the language (in a purely functional setting). This is enforced by single assignement variables. A value can never be updated once declared.
* Functions are available as first class values. This means that anonymous functions can be declared and a function's value can be passed the same way as any other value type.
* In return for giving up mutable state a program is easier to make provably correct.
How does this make my statement not fair? All I wrote was the old-fashioned name and that pure functional programming didn't meet industry-strength requirements. Exactly that's why "C" was developed, and later C++, C#, modern Java, Visual Basic etc.
__________________
Valmont is offline   Reply With Quote