- What is functional programming?
- A style of programming in which state and business logic are expressed through pure mathematical operations without the use of shared state or side effects.
- What are two beneficial characteristics of functional programming?
- Reduction in state management
- Limiting of side effects
- What does an inline modifier do to a defined function?
- It indicates that the compiler should include the function's implementation at the functional call site to improve the performance characteristics of the code.
- Is it true or false that higher-order functions pose a potential performance issue?
- Can you name three functions from the Kotlin standard library?
- map()
- filter()
- orEmpty()
- first()
- last()
- What is the Arrow library used for?
- It's used as a framework for writing purely functional code in Kotlin.
- What are the core data types when writing functional code with Arrow?
- Typeclasses
- Data types
- Effects