What are the core principles of functional programming?
Core principles of functional programming include the use of pure functions, higher-order functions, and recursion, emphasizing immutability and the avoidance of changing state or mutable data.
Why is functional programming considered more predictable?
Functional programming is considered more predictable because it relies on pure functions that always produce the same output for the same input, reducing the likelihood of side effects and bugs.
Which languages are known for functional programming?
Languages known for functional programming include Haskell, Scala, and Erlang, while many modern languages such as JavaScript and Python incorporate functional programming features.