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

September 2025

S M T W T F S
 1 2345 6
78 9 10 111213
14 151617 181920
21222324252627
282930    

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 19th, 2025 07:22 pm
Powered by Dreamwidth Studios