{"id":11001,"date":"2022-12-08T14:59:49","date_gmt":"2022-12-08T19:59:49","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=11001"},"modified":"2022-12-08T14:59:49","modified_gmt":"2022-12-08T19:59:49","slug":"prot-on-clojure-and-cider","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=11001","title":{"rendered":"Prot On Clojure and Cider"},"content":{"rendered":"<p>As most Irreal readers know, Protesilaos Stavrou (Prot) is looking for a new job. Part of his preparations is learning Clojure so of course he\u2019s produced a <a href=\"https:\/\/www.youtube.com\/watch?v=KMWLIgG986I\">video on using Clojure in Emacs with Clojure<\/a>. It\u2019s an elementary exposition but definitely worth watching.<\/p>\n<p>The main point of the video is not Clojure itself but rather the use of Cider and the evaluation of expressions in the context of the code buffer. He shows how you can evaluate an expression from within the code buffer and how you can easily switch to the Clojure REPL to try things out.<\/p>\n<p>It\u2019s another example of <a href=\"https:\/\/irreal.org\/blog\/?s=exploratory+programming\">exploratory programming<\/a> that I\u2019ve written about before. If you haven\u2019t experienced it, it\u2019s hard to overstate the value of having the REPL always available to test out functions or even expressions. It makes programming much more efficient and fun.<\/p>\n<p>The video is just short of 27 minutes so you\u2019ll have to schedule some time. Prot has promised more videos on Clojure, which I\u2019m looking forward to. In the mean time, if you want to get a sense of what using Cider is like, take a look at his video. If you want another example, check out <a href=\"https:\/\/irreal.org\/blog\/?p=10992\">Mike Zamansky\u2019s video on Day 1 and 2 of the 2022 Advent of Code challenge<\/a>. He uses Clojure and demonstrates its use on nontrivial problems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As most Irreal readers know, Protesilaos Stavrou (Prot) is looking for a new job. Part of his preparations is learning Clojure so of course he\u2019s produced a video on using Clojure in Emacs with Clojure. It\u2019s an elementary exposition but &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=11001\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-11001","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11001"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11001\/revisions"}],"predecessor-version":[{"id":11002,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11001\/revisions\/11002"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}