defmulti

A collection of 1 posts

A Java geek
  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
Oct 7, 2018 Clojure dispatch defmulti defmethod

Learning Clojure: dynamic dispatch

This is the 4th post in the Learning Clojure focus series. A common pattern in software development is the dynamic dispatching (or routing) table. The table is responsible for returning the relevant output for a specific input. In the Object-Oriented programming world, the object model would look something like the following.

Nicolas Fränkel
A Java geek © 2008-2025
v. 8b2b5c3b1ea5f9020bfe3e1fa516f531fb5e8cc3/10254800311
Latest Posts