We spend some time going through how these macros help keep our code nil-safe.

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: "some-> and some->>." We spend some time going through how these macros help keep our code nil-safe.


Selected quotes:

"Keep trying till you hit a nil and then stop."
"That seemed all well and good, and then I hit nil."
"It ends up being just a bit more concise."
"A nice way of testing something and then being able to use it right away."

Links:

some->
some->>

Twitter Mentions