Skip to content

Commit

Permalink
Add some notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Antukh committed Jan 8, 2015
1 parent e224f2e commit 3ebb56f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 2015/oop-made-functional/content.adoc
Expand Up @@ -376,6 +376,10 @@ But also:
- You can dispatch by anything.
- You can build adhoc hierarchies.

Inconvenients:

- has more performance implications than protocols (drasticaly improved in clojure 1.7)


== Polymorphism: clojure approach (4)

Expand Down Expand Up @@ -463,6 +467,10 @@ Continuation...
;; => :unexpected
----

- It also allows resolve disambiguations with `prefer-method`
- It allows attach hierarchy a symbols and third party types.
- It allows namespaced hierarchies with `make-hierarchy`.


== End / Q&A

Expand Down

0 comments on commit 3ebb56f

Please sign in to comment.