News for hackers. Stuff that matters.
Re:Paul Graham on SICP (2000) by dreamcompiler on Wednesday August 01, 2018 @07:14PM (#17667922)
CLOS is--IMHO--the most advanced object system ever invented. The freedom that comes from CLOS is mind-blowing. Learning what CLOS can do will make you hate every other object-oriented programming system.
Re:Paul Graham on SICP (2000) by pjmlp on Thursday August 02, 2018 @01:09AM (#17669349)
I think BETA comes close, but it never made it into mainstream.
Re:Paul Graham on SICP (2000) by cup-of-tea on Thursday August 02, 2018 @05:09AM (#17670172)
Very true. And the most mind blowing thing? CLOS is implemented in Lisp itself using macros. So as a Lisp user, you are able to extend the language to include the best implementation of any particular paradigm that exists.
Re:Paul Graham on SICP (2000) by foldr on Thursday August 02, 2018 @08:24AM (#17670899)
> CLOS is implemented in Lisp itself using macros.

This is a persistent myth. CLOS is built in to the language.

Re:Paul Graham on SICP (2000) by lispm on Thursday August 02, 2018 @09:17AM (#17671151)
Somehow.

The original first CLOS implementation called PCL (Portable CommonLoops) was written in 100% Common Lisp with very little implementation specific CL code. PCL was a library which ran on at least 15 different Common Lisp implementations.

What really is a myth that it's (only) macros. That CLOS implementation is a complex library written as data types, functions, macros, ... and which was bootstrapped to be partly written in itself using classes, method, generic functions, ...

See for example: https://github.com/binghe/PCL