4 ms·
> This is a problem with functional programming in general, it is fundamentally anti-human, people don't think functionally but rather procedurally. There was
by teamonkey 13y ago
> This is a problem with functional programming in general, it is fundamentally anti-human, people don't think functionally but rather procedurally.
There was a study a while back[1] that showed non-programmers a series of statements of the sort,
int a = 10;
int b = 20;
a = b;
and asked them the value of a. It seemed that some people could not grasp even very basic fundamentals.
The thing is, if you'd never programmed before but you HAD basic algebra knowledge, the third line above would have broken your brain. 10 =/= 20. You can't change the value of a, it's against everything you know!
The point is, people don't think functionally or procedurally. Both of these programming styles are just learned behaviours, not basic human nature.
[1] http://www.codinghorror.com/blog/2006/07/separating-programming-sheep-from-non-programming-goats.html http://www.codinghorror.com/blog/2006/07/separating-programm...