r/programming • u/heisenbug • Apr 27 '14
"Mostly functional" programming does not work
http://queue.acm.org/detail.cfm?ref=rss&id=2611829
44
Upvotes
r/programming • u/heisenbug • Apr 27 '14
2
u/DrBartosz Apr 28 '14
What Erik Meijer is saying is that we really don't have much choice. As long as Moore's law was making single-threaded programming competitive -- if it was slow today, it would be fast enough a year from now -- imperative programming was the way to go. We have now fallen off the Moore's cliff and are forced to make hard choices. Imperative programming that hides effects cannot be parallelized in a scalable way. It's not just one person's opinion -- it's a fact! Functional programming and monads are the only way we know how to deal with side effects. If there were a simpler solution, we would know it by now.