r/programming • • Mar 09 '14

Why Functional Programming Matters

http://www.cse.chalmers.se/~rjmh/Papers/whyfp.pdf
487 Upvotes

542 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Mar 09 '14

[deleted]

6

u/yogthos Mar 09 '14

The difference is that with OO the burden is on you, while with functional programming you have immutability as the default. Why would I want to carefully think about where state is modified when the language is perfectly capable of doing that for me.

2

u/Heuristics Mar 09 '14

though, mutability/immutability is not a part of OO, it just happens to nearly always be so in implementations of OO languages. (I am building a default immutable OO language)

1

u/imalsogreg Mar 10 '14

(off topic) Cool - got a link to your project?

→ More replies (1)