Never miss a beat

Join my newsletter.

Tag: records

Clojure Protocols & Records

Published: 4/6/2017

Deep diving back into Clojure! Damn, it feels good to be back! If you’re reading this, you probably don’t know much about Protocols or Records and the goal is simple – by the end of this post, you’ll feel comfortable understanding them, using them, and refactoring to them if you’re coming from a Java codebase. Protocols If you haven’t read the post on multimethods yet , go ahead. I’ll wait. Protocols are conceptually similar to multimethods, although protocols dispatch on the type of parameter…