3 ms·
CLisp, for example, is not a functional language in the sense of ML language or Haskell. CLisp is a multi-paradigm language. You can use it in a OOP or a func
by pdelgallego 16y ago
CLisp, for example, is not a functional language in the sense of ML language or Haskell.
CLisp is a multi-paradigm language. You can use it in a OOP or a functional style. You can even use its OO features in a functional way and viceversa. E.g Objects are poor's people closures. [1]
[1] http://c2.com/cgi/wiki?ClosuresAndObjectsAreEquivalent http://c2.com/cgi/wiki?ClosuresAndObjectsAreEquivalent
- jpr 16y agoAlso, CLisp is not a language, it's an implementation of a language named Common Lisp: http://www.gnu.org/software/clisp/ http://www.gnu.org/software/clisp/ (It's common misconception, and a confusing name)
- xyzzyz 16y agoHate to be pedantic, but there is no such language as CLisp. There is Common Lisp language, commonly abbreviated to CL, and CLisp is the name of one of its implementations -- the other popular ones are SBCL, Clozure CL, Allegro CL, to name a few. One should not identify Common Lisp the language with CLisp the implementation, especially since it is not the fastest or the most pleasant one.