Please enable JavaScript.
Coggle requires JavaScript to display documents.
Function Structure (Arguments (3 is Max, 2 is ideal, No Output Arguments,…
Function Structure
-
Paradigms
Functional Programming
-
instead of writing values onto variables, you would pass those values as an argument to variables
No Side effects
But Side effects are parts of a system. Side effects should just be managed and be imposed a strict discipline
-
-
-
-
-
Side effects
Temporal Coupling
is when a function is dependent on an execution of function.
Example is, open() and close()
-
-
-
-