Comment

Comment by zachbeane

Starting from classes and describing generic functions as a way to send messages is pretty backwards for CLOS.

CLOS is best used primarily by defining a protocol with generic functions, then using methods and (optionally) classes to implement the protocol.

http://xach.com/lisp/jrm-clos-guide.html has a copy of Joe Marshall's "Warp Speed" CLOS guide.

parent zachbeane 11 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton