5 ms·
Immutability and recursion patterns do shrink the search space to a minuscule spot. It may fit ones brain. But some people have a state driven thinking process,
by agumonkey 8y ago
Immutability and recursion patterns do shrink the search space to a minuscule spot. It may fit ones brain. But some people have a state driven thinking process, which I despised for decades but recently got to understand. I see why people like to code in C-land. The issue is that, since it's not a straightjacket like ~pure FP, if you don't have a brain that sees state, state variable, lifetimes, etc etc, you're free to write piles of crap. Especially when young because you may believe that complex => more code, and complex is good.
ps: note that I'm not criticizing FP or static/math oriented programming. I'm just trying to pu both sides into a shared perspective
- pishpash 8y agoThe real world has state. Mathematics don't. There are different domains in which different languages are most expressive.