Get clojure explanations and advise
Weekly tips and thoughts about clojure
delivered to your inbox
Latest Articles explanations and helpful hints about clojure
When designing a web client api the functions can end up looking similar. Everything boils down to the request execution. Each api function is just a bit different based on the exact http-method, api end point, or parameters. Removing this duplication might not be straightforward. A recent code review request had this situation. The author ended up writing a macro to extract the repetition.