Sveriges mest populära poddar

Functional Design in Clojure

Ep 066: Compose the Codec

28 min • 31 januari 2020

Each week, we discuss a different topic about Clojure and functional programming.

If you have a question or topic you'd like us to discuss, tweet @clojuredesign, send an email to [email protected], or join the #clojuredesign-podcast channel on the Clojurians Slack.

This week, the topic is: "Making middleware to handle JSON." We reinvent the wheel, and along the way discover a few reasons why you might want to do so as well.

Selected quotes:

  • "Ring's choice: all of HTTP is a function."
  • "Every concern is a function you compose in."
  • "It's like a bucket brigade with the request."
  • "Solving JSON encoding and decoding is a cross-cutting concern."

Links:

  • ring-json - Ring middleware for handling JSON
Förekommer på
00:00 -00:00