3 ms·
...which is why Scheme has, like, 37 different, incompatible object systems. Everything has costs.
by mcguire 9y ago
...which is why Scheme has, like, 37 different, incompatible object systems.
Everything has costs.
- eadmund 9y agoThat's Scheme. Lisp, meanwhile, has one: CLOS. One is excellent for learning about things like hand-rolled object systems, and one is excellent for building large systems.
- iak8god 9y agoCommon Lisp has CLOS. I'm aware some purists don't think Scheme is a Lisp but, regardless of one's stance on this, there are most definitely other Lisps than Common Lisp.
- YouAreGreat 9y agoHaving called the result of Lisp standardization ANSI Common Lisp instead of just ANSI Lisp doesn't change the fact that the whole effort was all about standardizing Lisp. Moreover, why not just say Scheme or Clojure when talking about Scheme or Clojure? If ANSI C had been called ANSI Common C, would Java fans never cease to insist on calling Java a dialect of C?
- iak8god 9y ago> the whole effort was all about standardizing Lisp There are more Lisps now than ever, so perhaps that was not as successful as was hoped. > why not just say Scheme or Clojure when talking about Scheme or Clojure? Why not just say "Common Lisp" when you mean Common Lisp, and "Lisp" when making true general statements that include other things that have always been considered Lisps? How are we to refer to Emacs Lisp without tying ourselves in knots if we refuse to say that "Lisp" includes it?
- shakna 9y agoYou say that, but SLIB [0] is the canonical place to go with Scheme, which has the "Macroless Object System" [1], based on CLOS from Common Lisp. SLIB is included with Guile, and compatible with almost all Schemes. If a Scheme has an object system inbuilt, it is likely to be built around SLIB's. [0] https://people.csail.mit.edu/jaffer/SLIB https://people.csail.mit.edu/jaffer/SLIB [1] https://people.csail.mit.edu/jaffer/slib/Object.html#Object https://people.csail.mit.edu/jaffer/slib/Object.html#Object
- yogthos 9y agoSure, it's not a guarantee that the language will stay small and focused, but it provides a path towards that. Clojure has been around for a decade now, and the core language has grown very little. I think it helps that Clojure is a BDFL driven language as opposed to being a design by committee.