juan_gandhi: (VP)
Functional is a mapping from functions to scalar values. So, e.g. integrals, sums, products etc are functionals.

Functional programming probably just means that we have to write functionals and apply them to functions. That's what map/reduce does, for instance.

That's all, folks.
ottaka
juan_gandhi: (VP)
... is passing parameters via "common variables", imitating "environment", which they are on most occasions not.

This is unavoidable if you have functions 100 lines long; you have those variables keeping this and that... then you split the code, but you have to keep those "shared variables", so there.

They are just parameters, you know. If you think of them this way, your architecture becomes clean and clear.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

May 2025

S M T W T F S
    1 2 3
456 7 8 9 10
11 121314151617
18192021222324
25262728293031

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 15th, 2025 02:09 pm
Powered by Dreamwidth Studios