The Promises of Functional Programming
The Promises of Functional Programming In this article, it explains that functional programming is not frequently used for 2 main reasons, one is reason is that functional programming is very different from traditional programming (also referred to as imperative programming) and thus requires a lot of learning and unlearning and the other reason that I did not know is that computer hardware implements the imperative programming model, so imperative programs are easier to compile into efficient machine code than functional programs. I agree with the author because thanks to these reasons it makes easier for you as a programmer to understand what the computer does and what you’re programming. Nevertheless, functional programming has a lot of advantages that it can "cost" you to understand better your code but it will have a better performance, for example, a set of programmers dislike that syntax in Clojure for a simple multiplication is represented like this: (* 2 2) . Thi...