Daily Term: Functional Programming
Functional Programming
Functional Programming (FP) is a paradigm that treats computation as the evaluation of mathematical functions, emphasizing pure functions (no side effects), immutability, and higher-order functions. For example, in JavaScript, using map to transform an array avoids mutating state. FP improves predictability and testability by avoiding shared state, but it can be harder to learn and may lead to performance overhead for certain operations.
Date: 2025-12-04