Re:Portacle – A Portable Common Lisp Development Environment
by proaralyst on Wednesday January 04, 2017 @10:25AM
(#13318983)
So what paradigm would you suggest? A combination of imperative with functional where it's better suited? Or is Lisp best programmed with an entirely new approach?
Re:Portacle – A Portable Common Lisp Development Environment
by shakna on Wednesday January 04, 2017 @10:41AM
(#13319121)
Lisp is a family of languages. CL doesn't define all Lisps. The two big families tend to be Common Lisp and Scheme.
* Clojure - Immutable, functional, has pattern matching.
* Common Lisp - Mostly just multiparadigm, with a leaning towards Object Oriented.
* Scheme - More functional than Common Lisp, less Object-Oriented. (Though Guile tends to have an OO leaning, through its extensions.)
* Racket - Has a mix of lazy, static typed and other sublanguages.
* Picolisp also deserves an honorable mention. It is somewhere between Common Lisp and Scheme, with some clever language features of its own. It's mostly functional, with decent C/Java FFI and a Datalog-like library for OO.
Re:Portacle – A Portable Common Lisp Development Environment
by pavelludiq on Wednesday January 04, 2017 @10:30AM
(#13319034)
Depends on your problem, experience level, and the context of your overall architecture, team or a million other factors. Apply thought liberally :)
Because it's so flexible and multi-paradigm, you can pretend it's an FP language and maybe get away with it, but you'll have to bring your own bondage and discipline rather than rely on the compiler, or write a language on top of it that does that(check out shen if you haven't).