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

August 2025

S M T W T F S
      12
3456789
10111213141516
17181920212223
24252627282930
31      

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 6th, 2025 10:45 pm
Powered by Dreamwidth Studios