{"id":852,"date":"2014-07-05T20:46:08","date_gmt":"2014-07-05T20:46:08","guid":{"rendered":"http:\/\/sdi.thoughtstorms.info\/?p=852"},"modified":"2014-07-05T20:46:08","modified_gmt":"2014-07-05T20:46:08","slug":"clojure-multimethods","status":"publish","type":"post","link":"https:\/\/blog.thoughtstorms.info\/?p=852","title":{"rendered":"Clojure Multimethods"},"content":{"rendered":"<p>Wow! Now <a href='http:\/\/clojure.org\/multimethods'>this is weird<\/a>!<\/p>\n<p>I honestly don&#8217;t know what to make of Clojure&#8217;s ad-hoc hierarchies. I have, I confess, been missing a little bit of the polymorphism I&#8217;m used to with classic OO class-hierarchies. <\/p>\n<p>This looks like it&#8217;s the answer to that. But hmmmm &#8230;. if I start down this path am I going to find myself reinventing standard OO capacities with a weird syntax? Does adopting these things mean I&#8217;m falling back from my FP sophistication to &#8220;class-based&#8221; programming? Is it the equivalent of abusing <em>do<\/em> to make my Lisp more imperative?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wow! Now this is weird! I honestly don&#8217;t know what to make of Clojure&#8217;s ad-hoc hierarchies. I have, I confess, been missing a little bit of the polymorphism I&#8217;m used to with classic OO class-hierarchies. This looks like it&#8217;s the answer to that. But hmmmm &#8230;. if I start down this path am I going [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[67,248,293,310,349],"class_list":["post-852","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-clojurescript","tag-lisp","tag-multimethods","tag-object-orientation","tag-polymorphism"],"_links":{"self":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=852"}],"version-history":[{"count":0,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/852\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}