Ep 082: Filter and Friends


Manage episode 269153092 series 2463849
על ידי Christoph Neumann and Nate Jones, Christoph Neumann, and Nate Jones התגלה על ידי Player FM והקהילה שלנו - זכויות היוצרים שמורות למפרסם, לא ל-Player FM, והשמע מוזרם ישירות מהשרתים שלכם. הירשמו כדי לעקוב אחר עדכונים ב-Player FM, או הדביקו את כתובת העדכונים באפליקציות פודקאסט אחרות.

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 feedback@clojuredesign.club, or join the #clojuredesign-podcast channel on the Clojurians Slack.

This week, the topic is: “filter, filterv, remove, keep, and keep-indexed.” We talk about sifting data and marvel at the simple function that can turn two steps into one.

Selected quotes:

  • “It’s not just linguistic, it helps it make more sense.”
  • “We should be more positive about our intent.”
  • “Clojure’s sense of falsey is thankfully limited to nil and false.”
  • “Nil is a positive statement that it didn’t work out.”
  • “Keep is great for those times where you need data for both the transform and the filter.”
  • “It’s only a complement away!”
  • “Reaching for optimization too early leads to more complexity.”


90 פרקים