3 ms·
I wrote mostly python and c languages before I knew anything about FP. Part of the appeal is how mathematical it is, so intuition from math and physics modeling
by yummypaint 4y ago
I wrote mostly python and c languages before I knew anything about FP. Part of the appeal is how mathematical it is, so intuition from math and physics modeling can carry over more easily for some people. lazy evaluation and currying as in haskel are powerful ideas that can influence how problems are broken down conceptually. Earlier on i thought of a well-written large program like an octopus with a complicated brain in the middle and many tentacles coming from the body. Now i aim for programs that are more like a green onion with a clear flow from root to bulb to shoot, and elegant in their simplicity. I still mostly write python and c++, but banishing side effects where possible for example has led code that paralellizes more easily and is easier to debug.