3 ms·
Great explanation. It doesn't really have to do with CLOS though. The package system works on any names whether you use classes or not (we don't). One little d
by gruseom 18y ago
Great explanation. It doesn't really have to do with CLOS though. The package system works on any names whether you use classes or not (we don't).
One little detail I love because it illustrates Lisp's design style nicely. If you're using an exported (public) name, you say foo:sum. But if the name is private and you want to breach encapsulation to get at it, you say foo::sum. The language makes you state your intention, but makes it easy to do so and doesn't get in your way.