The Promises of Functional Programming
In a certain way this article mentions some advantages about Lisp and functional programming among them is the capability to produce more code using macros. In this article is said that functional programming permits to write a program using functions, like the mathematical world makes the activity of programming with a functional language a task that involves a different way of thinking differing of how the imperative languages.
Functional programming is considered more robust, compact and easily parallelizable and it's fundamental principle is that computation is achieved by composing functions as in the mathematical sense and that always produces the same output given the same input differing from imperative programming. There is also the fact that in functional programming don't exist variables or loops and they are replaced by recursion, but there other facts that involves functional programming and among them is that it makes us to write code faster for certain tasks, the fact is that it produces no side effects, functional languages are candidates for writing parallel programs and there is no need to implement locks which means there are no deadlocks, these and other facts makes reference of the many differences between imperative and functional languages.
We can notice that functional programs represent a easier approach when coding concurrent programs which is a strong point because of their behaviour with variables and that loops don't exist as we know them just as we mentioned previously in this entry blog. This article also shows some of the strengths and limitations and we can focus in the fact that with functional programming is easier to develop concurrency and parallelization but one limitation is that we are dependent on imperative languages, but when developing with different languages we should change our way of thinking and is some way change the way we use the languages and the understand the purpose being difficult because of the complexity and because could they can be different from the other languages that we already know.
Comentarios
Publicar un comentario