Which programming paradigm is characterized by the use of immutable data structures and first-class functions? 🔊
The programming paradigm characterized by the use of immutable data structures and first-class functions is called functional programming. This paradigm emphasizes the evaluation of expressions rather than the execution of commands, focusing on the application of functions. Characteristics of functional programming include higher-order functions, pure functions, and recursion. Languages such as Haskell, Scala, and JavaScript support this paradigm, promoting clearer code and better maintainability, especially in concurrent programming environments.
Equestions.com Team – Verified by subject-matter experts