In this article, the author praised functional programming with 2 main good features.
But he didn’t mention (Common) Lisp.
Does Lisp’s data meet this “all data is immutable”?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Common Lisp you have the option of using a functional style. Avoid
setf,setq, and the like, and you’ve got a functional programming language. In other words, don’t change any variable values, don’t change the contents of compound data structures (cons, vectors, structures, etc) after creation. Functions take input and produce output without modifying state.So, while Common Lisp provides operations that are imperative you don’t need to use them if you don’t want to.