3 ms·
"purely functional Lisp type languages" I think Common Lisp actually has one of the most powerful Object Systems: CLOS
by gibsonf1 19y ago
"purely functional Lisp type languages" I think Common Lisp actually has one of the most powerful Object Systems: CLOS
- rms 19y agoSorry, I meant languages that actually allow for functional programming, not languages that are exclusively that way.
- BrandonM 19y agoLisp is not at all exclusively functional. The best Lisp is, but you can easily write iterative code in Lisp as well. It's just that most Lisp programmers don't because they realize that the functional paradigm is usually superior in terms of creating clean, simple code that is easy to understand later.
- euccastro 19y agoJust to nitpick, any language that allows functions 'allows' functional programming to some extent. More seriously, any language with higher order functions, lexical scoping, and closures can be considered appropriate for functional programming. You probably meant languages that are biased primarily towards functional programming, as opposed to others where FP is not the dominant paradigm. You have to specify that much if you are going to include the Lisps but leave Python out.