News for hackers. Stuff that matters.
Re:Functional Programming Doesn’t Work (and what to do about... by omouse on Tuesday December 29, 2009 @03:30AM (#1020226)
The second example, single assignment form, is useful for walking through the function based on time/computation-sequence. Very good for making assertions in the middle of the code somewhere.

edit: I forgot to mention that Dijkstra had some complaints when Functional Programming first reared its head, http://www.cs.utexas.edu/users/EWD/transcriptions/EWD06xx/EW...

Re:Functional Programming Doesn’t Work (and what to do about... by baguasquirrel on Tuesday December 29, 2009 @03:33AM (#1020229)
I can say: a' = a + 1

What's so confusing about that? This is not a shortcoming of FP.

Re:Functional Programming Doesn’t Work (and what to do about... by omouse on Tuesday December 29, 2009 @03:42AM (#1020238)
Yeah, it was a weird thing for him to mention.