<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Protocols on BradCypert.com</title>
    <link>https://www.bradcypert.com/tags/protocols/</link>
    <description>Recent content in Protocols on BradCypert.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 27 Dec 2022 22:25:45 -0500</lastBuildDate>
    <atom:link href="https://www.bradcypert.com/tags/protocols/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Clojure Protocols &amp; Records</title>
      <link>https://www.bradcypert.com/clojure-protocols-and-records/</link>
      <pubDate>Thu, 06 Apr 2017 00:00:00 +0000</pubDate>
      <guid>https://www.bradcypert.com/clojure-protocols-and-records/</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;&#xA;&lt;h4 id=&#34;protocols&#34;&gt;Protocols&lt;/h4&gt;&#xA;&lt;p&gt;If you haven’t read the post &lt;a href=&#34;http://www.bradcypert.com/mighty-morphing-multimethods/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;on multimethods yet&lt;/a&gt;&#xA;, go ahead. I’ll wait. Protocols are conceptually similar to multimethods, although protocols dispatch on the type of parameter, while multimethods dispatch on the value. Although, technically, you can dispatch on a multimethod on type but it’s not a good practice.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
