What feature of what language does Clojure Protocols derive from?
Note: this is not a question about “How to Use Protocols”
This is a question about what inspired the idea.
In particular, what I want is to get something like:
- XYZ + ABC inspired Clojure Protocols
Then, I can go off and read about directions people went with XYZ and ABC for language features.
Thanks!
If you know Java, Clojure protocols are similar to Java interfaces – but better. The Clojure website says this about protocols (and there’s more background information and rationale about protocols on that page):
Furthermore, you might find Solving the Expression Problem with Clojure 1.2 an interesting read: