Hacker News new | ask | show | jobs
by ricky_clarkson 6331 days ago
OO exists on top of the imperative paradigm, never the functional one. If you disagree, please define OO.
3 comments

1. OO has no precise and universally accepted definition. http://www.paulgraham.com/reesoo.html

2. Parameterized modules in Erlang can be seen as a form of lightweight functional OOP.

http://www.lshift.net/blog/2008/05/18/late-binding-with-erla... http://www.erlang.se/workshop/2003/paper/p29-carlsson.pdf

http://en.wikipedia.org/wiki/Common_Lisp_Object_System

"Sweeping generalizations are always bad" :)

From what I understand, CL is not a functional language. It can be used as such, but is not necessarily one.
Common Lisp is a multi-paradigm language, but its OO features can be used in a functional style.