Skip to main content
6 events
when toggle format what by license comment
Feb 15, 2013 at 20:21 comment added Michael Shaw Unreasonable condemnation is not hatred, and avoiding mutable state is not unreasonable.
Feb 15, 2013 at 17:34 comment added Steven Evers Inline with what @JimmyHoffa says, I'll refer you to John Carmack on the topic of functional-style programming in imperative languages (C++ in his case) (altdevblogaday.com/2012/04/26/functional-programming-in-c).
Feb 15, 2013 at 15:53 comment added Jimmy Hoffa "Hatred of variables" is causal oversimplification en.wikipedia.org/wiki/Fallacy_of_the_single_cause there are many benefits to stateless programming which could even be had in Java, though I agree with your answer that in Java the cost would be too high in complexity to the program and being non-idiomatic. I would still not go around hand-waving away the idea that stateless programming is good and stateful is bad as some emotional response rather than a reasoned, well thought out stance people have come to due to experience.
Feb 15, 2013 at 15:39 comment added thiton @AndresF.: More than two years of coursework in Haskell. I don't say FP is bad. However, there is a tendency in many FP-vs-IP discussions (such as the linked article) to condemn the use of re-assignable named entities (AKA variables), and to condemn without good reason or data. Unreasonable condemnation is hatred in my book. And hatred makes for really bad code.
Feb 15, 2013 at 15:12 comment added Andres F. "Hatred of variables"? Ooookay... What have you read about Functional Programming? What languages have you tried? Which tutorials?
Feb 15, 2013 at 13:33 history answered thiton CC BY-SA 3.0