a programming paradigm that emphasizes the use of pure functions to solve problems
a function that always produces the same output for a given input and has no side effects. Given the same input, it always returns the same output. It does not modify the state of the program outside of its scope. It does not depend on any mutable state that may change during program execution
Predictability,Testability,Modularity,Parallelism,Reusability
he property of an object or data structure that cannot be modified once it is created.
a property of a function or expression that ensures that its output or result depends only on its input or arguments, and not on any external state or context
a module is a self-contained unit of code that can be imported and used in another program
indicate that a program or a particular module or component depends on another module or component to function properly.
depends on the programming language you are using, but in general, you can do this by using an import statement or a similar mechanism provided by the language.
first create the module and then export it using the appropriate syntax or mechanism provided by the programming language you are using.