H
H
HoHsi2016-10-06 06:35:07
Lisp
HoHsi, 2016-10-06 06:35:07

What is the scope of Lisp/Clojure/Scheme?

Good afternoon!
Recently, Clojure became interested, and in connection with this, several questions arose:
* What is the scope of the Lisp family?
* What are their advantages over OOP languages?
* Since all objects in functional languages ​​are passed by value, doesn't that create a memory load and overheads?
* In what cases is it better not to use FP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Kolesnichenko, 2016-10-06
@HoHsi

What is the scope of Lisp/Clojure/Scheme?

In general, these are all general-purpose languages ​​that can be used in the same place as Python or Java, for example. The only thing I would single out is writing EDSL (embedded domain-specific languages). Example: https://github.com/tonsky/datascript.
Lisps support OOP, the question is incorrect.
Who told you such nonsense? And yes, Lisps are no more functional than some JavaScript.
It depends what you mean by FP. Lambdas, FVP, pure functions should always be used. Recursive functions are undesirable if the language does not support TCO (although some will say that premature optimization is the root of all evil). All sorts of monads and functors - according to the situation, just don't tell anyone that they are monads. The whole JS community uses Promise, but it would be written in the dock that Promise is a monad, no one would even look :)

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question