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

November 2025

S M T W T F S
       1
2345678
9101112131415
16171819202122
23242526272829
30      

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 4th, 2025 06:23 pm
Powered by Dreamwidth Studios