FUNCTIONAL PROGRAMMING
- What is functional programming?
- Functional programming is a programming paradigm — a style of building the structure and elements of computer programs — that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data.
- What is a pure function and how do we know if something is a pure function?
- Does not cause side effects and returns and give same results for same arguments.
- What are the benefits of a pure function?
- What is immutability?
- Not changing the state of data after creation
- What is Referential transparency?
- Yielding the same results for the same input
- What is a module?
- simple or complex functionality organized in single or multiple JavaScript files which can be reused throughout the Node. js application
- What does the word ‘require’ do?
- How do we bring another module into the file the we are working in?