Skip to content

Comment on A Road to Common Lispparent

Comments

The core functional language is excellent, but protocols, types etc. seem much more ad-hoc and not well-designed. I'm used to object oriented (Python) and I find the lack of focus on an object-system a bit unsettling.

I guess CLOS was well designed.

What Clojure offers is a subset of CLOS.

Clojure multimethods actually can do more than CL multiple dispatch, because they can dispatch by value rather than just type.

CLOS can dispatch by value with eql specifier...

You can implement Clojure multimethods as an extension of CLOS: https://github.com/pcostanza/filtered-functions

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.