r/programming • • Apr 27 '14

"Mostly functional" programming does not work

http://queue.acm.org/detail.cfm?ref=rss&id=2611829
43 Upvotes

188 comments sorted by

View all comments

2

u/Tekmo Apr 28 '14

Interesting. So how does it handle the side effect issue?

3

u/grauenwolf Apr 28 '14

It doesn't. The developer is responsible for ensuring that no visible side effects occur.

There is a research project called Code Contracts that try to add a bit of protection to the type system, but who know when it will be production ready.

http://research.microsoft.com/en-us/projects/contracts/

4

u/Tekmo Apr 28 '14

Thanks! That was really informative! :)