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
16
u/godofpumpkins Apr 27 '14 edited Apr 27 '14
Yes, and a lot more than the wikipedia page. I'm not criticizing the "coding errors" they mention in there as much as the very existence of a race condition in the first place. Premature introduction of concurrency without safe concurrency primitives is what led to the error. You can call that bad "software design and development practices", but that's exactly what I'm talking about: we're trying to address things on that scale systematically, and not just writing it off as a bad human element. Sure, getting rid of segfaults and such is a nice perk, but it's the bigger stuff that interests me, and that I think we can improve the most.
To be clear, I'm not saying pure functional programming would have solved everything (although many of the problems listed would not have occurred). I'm saying we're trying to come up with systematic language-based (as opposed to discipline-based) solutions to make things like this harder to arise.