TopPodcast.com
Menu
  • Home
  • Top Charts
  • Top Networks
  • Top Apps
  • Top Independents
  • Top Podfluencers
  • Top Picks
    • Top Business Podcasts
    • Top True Crime Podcasts
    • Top Finance Podcasts
    • Top Comedy Podcasts
    • Top Music Podcasts
    • Top Womens Podcasts
    • Top Kids Podcasts
    • Top Sports Podcasts
    • Top News Podcasts
    • Top Tech Podcasts
    • Top Crypto Podcasts
    • Top Entrepreneurial Podcasts
    • Top Fantasy Sports Podcasts
    • Top Political Podcasts
    • Top Science Podcasts
    • Top Self Help Podcasts
    • Top Sports Betting Podcasts
    • Top Stocks Podcasts
  • Podcast News
  • About Us
  • Podcast Advertising
  • Contact
Not in our directory?
Add Show Here
Podcast Equipment
Center

toppodcastlogoOur TOPPODCAST Picks

  • Comedy
  • Crypto
  • Sports
  • News
  • Politics
  • True Crime
  • Business
  • Finance

Follow Us

toppodcastlogoStay Connected

    View Top 200 Chart
    Back to Rankings Page
    Technology

    Functional Design in Clojure

    Each week, we discuss a software design problem and how we might solve it using functional principles and the Clojure programming language.

    Advertise

    Copyright: © 2018-2019, Christoph Neumann and Nate Jones

    • Apple Podcasts
    • Google Play
    • Spotify

    Latest Episodes:
    Ep 051: Maps! Maps! Maps! Oct 18, 2019
    Show notes

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

    If you have a question 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, our topic is: "Maps! Maps! Maps!" We discuss maps and their useful features, including a key distinction that we couldn't live without.

    Selected quotes:

    • "Working with Clojure makes you feel like you're living in the future!"
    • "Maps are bags of dimensions."
    • "The namespace of the key is the entity, the name is the attribute, and the value is the value."
    • "Flatter maps make it so you end up writing less code."

    Related episodes:

    • Time Log series:
      • 015: Finding the Time
      • 016: When 8 - 1 = 6
      • 017: Data, at Your Service
      • 018: Did I Work Late on Tuesday?
      • 019: Dazed by Weak Weeks
      • 020: Data Dessert
    • 049: Keywords! Keywords! Keywords!

    Links:

    • Love Letter To Clojure (Part 1) - Gene Kim

    Code sample:

    ;; Player records: one nested, one with rich keys.
    
    (def players-nested
      [{:player {:id 123
                 :name "Russell"
                 :position :point-guard}
        :team {:id 432
               :name "Durham Denizens"
               :division :eastern}}
       {:player {:id 124
                 :name "Frank"
                 :position :midfield}
        :team {:id 432
               :name "Durham Denizens"
               :division :eastern}}])
    
    (def players-rich
      [{:player/id 123
        :player/name "Russell"
        :player/position :point-guard
        :team/id 432
        :team/name "Durham Denizens"
        :team/division :eastern}
       {:player/id 124
        :player/name "Frank"
        :player/position :midfield
        :team/id 432
        :team/name "Durham Denizens"
        :team/division :eastern}])
    
    
    ;; Extract player and team id, along with team name
    
    ; Nested
    (defn extract
      [player]
      (let [{:keys [player team]} player]
        {:player (select-keys player [:id])
         :team (select-keys team [:id :name])}))
    
    #_(map extract players-nested)
    ; ({:player {:id 123}, :team {:id 432, :name "Durham Denizens"}}
    ;  {:player {:id 124}, :team {:id 432, :name "Durham Denizens"}})
    
    ; Rich
    #_(map #(select-keys % [:player/id :team/id :team/name]) players-rich)
    ; ({:player/id 123, :team/id 432, :team/name "Durham Denizens"}
    ;  {:player/id 124, :team/id 432, :team/name "Durham Denizens"})
    
    
    ;; Sort by team name and then player name
    
    ; Nested
    #_(sort-by (juxt #(-> % :team :name) #(-> % :player :name)) players-nested)
    ; ({:player {:id 124, :name "Frank", :position :midfield},
    ;   :team {:id 432, :name "Durham Denizens", :division :eastern}}
    ;  {:player {:id 123, :name "Russell", :position :point-guard},
    ;   :team {:id 432, :name "Durham Denizens", :division :eastern}})
    
    ; Rich
    #_(sort-by (juxt :team/name :player/name) players-rich)
    ; ({:player/id 124,
    ;   :player/name "Frank",
    ;   :player/position :midfield,
    ;   :team/id 432,
    ;   :team/name "Durham Denizens",
    ;   :team/division :eastern}
    ;  {:player/id 123,
    ;   :player/name "Russell",
    ;   :player/position :point-guard,
    ;   :team/id 432,
    ;   :team/name "Durham Denizens",
    ;   :team/division :eastern})

    Ep 050: Parentheses! Parentheses! Parentheses! Oct 11, 2019
    Show notes

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

    If you have a question 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, our topic is: "Parentheses! Parentheses! Parentheses!" We defend the lowly parentheses, and discuss the benefits of having this stalwart shepherd dutifully organizing our code.

    Selected quotes:

    • "I'm converting my visual cues into audio information."
    • "Parentheses are like dust bunnies that have stacked up over time."
    • "Pounds of parentheses."
    • "The parenthesis is greatly misunderstood."
    • "Parentheses make the grammar of the language incredibly simple."
    • "I've never seen that in math, at least not in normal math."
    • "If you have 15 close parentheses, you might have to do some refactoring."
    • "Parentheses are the hugs your program needs."
    • "Peace, Love, Parentheses."

    Ep 049: Keywords! Keywords! Keywords! Oct 04, 2019
    Show notes

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

    If you have a question 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, our topic is: "Keywords! Keywords! Keywords!" We examine all the fascinating properties of keywords, how to use them, and why they're so much better than strings and enums.

    Selected quotes:

    • "The question of the day is: Why is there no question of the day?"
    • "Everything behind the scenes should get turn into integers because that is the good and true way."
    • "A FAQ after the fact."
    • "We forget about identical? because Clojure gives us value semantics!"
    • "Magic numbers you can spell with letters."
    • "The ability of communicating with letters--something we humans have been developing for a while."
    • "What is this sorcery?!"
    • "JSON. That's not not a guy who likes strings."
    • "Let's blame JSON."
    • "If you don't have to recursively walk a tree, why recursively walk a tree?"
    • "A little bit of copying is better than a lot of depending."
    • "The randomly placed last one wins!"
    • "Trust but verify."

    Ep 048: Help! How Do I Fix My REPL? Sep 27, 2019
    Show notes

    Each week, we answer a different question about Clojure and functional programming.

    If you have a question 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 question is: "Help! How do I fix my REPL?" We catalog the many ways we've broken our REPLs and talk through our strategies for getting back on track.

    Selected quotes:

    • "The REPL is a wonderful, wonderful thing."
    • "A cleansing restart."
    • "What is my Clojure band name?"
    • "tools.namespace will help you find rename errors early."
    • "Refresh will continue to work, as long as you continue to work."
    • "Even a defonce can be def'd again. It's a defonce, for now."

    Ep 047: What Is "Nil Punning"? Sep 20, 2019
    Show notes

    Each week, we answer a different question about Clojure and functional programming.

    If you have a question 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 question is: "What is 'nil punning'?" We gaze into the nil and find a surprising number of things to talk about.

    Selected quotes:

    • "The lowly, magnificent nil. Some people love it, some people hate it."
    • "Null is the value you give your program if you want to see it die."
    • "Nil is not null."
    • "This function found nothing, and I passed that to the next function, and it found nothing in the nothing."
    • "It's amazing how much nothing you can find in nothing."
    • "You can pull data out without fear."
    • "What does a nil Cat look like?"
    • "A lot of arithmetic stuff is nil-intolerant."
    • "No answer isn't going to start becoming an answer later."

    Ep 046: When Is Clojure Not the Right Tool for the Job? Sep 13, 2019
    Show notes

    Each week, we answer a different question about Clojure and functional programming.

    If you have a question 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 question is: "When is Clojure not the right tool for the job?" We look at the varied forms that Clojure can assume and consider where it might not fit.

    Selected quotes:

    • "Just reject all the jobs where Clojure is inappropriate and you'll always be able to use Clojure."
    • "The JVM is like a super tanker. It will get a whole lot of work done. But it takes a little while to get going."
    • "On the language level, there are social aspects. Bringing in Clojure covertly will make the rest of the team angry."
    • "A lot of times, when talking about technical things, we tend to overlook the human effects."
    • "Two questions: Is the technology suitable? Are we going to get screwed if we go down this path?"
    • "There is a conceptual leap into functional programming that is non-trivial."
    • "People will have a hard time letting go of their existing language until they can feel how Clojure is different."

    Related episodes

    • 038: How do I convince my coworkers to use Clojure?

    Ep 045: Why Have Derived Fields in Data When I Can Just Calculate Derived Data as Needed With a Function? Sep 06, 2019
    Show notes

    Each week, we answer a different question about Clojure and functional programming.

    If you have a question 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 question is: "Why have derived fields in data when I can just calculate derived data as needed with a function?" We take a focused look at the balance of using functions or derived fields and where each is preferable.

    Selected quotes:

    • "Clojure has a gravity toward using the built-in data structures."
    • "Immutability helps you handle concurrent updates to dependent fields without using locks."
    • "If you add derived fields, you can query the data using information at different levels of abstraction."

    Ep 044: What's So Different About Clojure's REPL? Aug 30, 2019
    Show notes

    Each week, we answer a different question about Clojure and functional programming.

    If you have a question 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 question is: "What's so different about Clojure's REPL?" We evaluate what a REPL really is and show that it's much more about the developer experience than simply calculating values.

    Selected quotes:

    • "The Clojure REPL is your window into the state of a running application."
    • "It's a much larger, broader kind of experience."
    • "It's funny to have mutable programs and immutable data, but that's what Clojure gives you."
    • "The fact that the REPL can read expressions and run them becomes one of it's least interesting attributes."

    Related episodes

    • 012: Embrace the REPL
    • 013: Connect the REPL
    • 014: Fiddle with the REPL

    Ep 043: What Is 'Faking' a Resource? Aug 23, 2019
    Show notes

    Each week, we answer a different question about Clojure and functional programming.

    If you have a question 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 question is: "What is 'faking' a resource?" We talk about the virtues of faking and then outline several real techniques for getting work done.

    Selected quotes:

    • "We like to mock mocking, so don't mock us if we mock mocking."
    • "No object is an island, they always refer to each other."
    • "It's all about getting work done."
    • "Why make my own fake data when the computer is so good at it?"
    • "It's like training a small diminutive version of the external service to behave in the ways you want it to so you can get stuff done."
    • "Fake it while you make it."

    Related episodes

    • 014: Fiddle with the REPL
    • 025: Fake Results, Real Speed

    Ep 042: What Does It Mean to Be 'Data-Oriented'? Aug 16, 2019
    Show notes

    Each week, we answer a different question about Clojure and functional programming.

    If you have a question 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 question is: "What does it mean to be 'data-oriented'?" We merge together different aspects of Clojure's data orientation, and specify which of those help make development more pleasant.

    Selected quotes:

    • "Clojure has the corner on data."
    • "Other languages have data too, it's just locked in little cages."
    • "Data is inert, it can't harm you."
    • "Because Clojure is expressed in its own data structures, and those structures are simple, that makes Clojure syntax simple."
    • "Find a good way to represent the information that you want to work with, in a way that feels appropriate for the subject matter."
    • "If you find a good way of representing your information, that representation tends to be pretty stable. All of the change is in the functions you use to work with it."

    Previous 1 6 7 8 9 10 13 Next

    Related Podcasts

    Reply All

    1

    Reply All Games & Hobbies
    Inside VR & AR

    2

    Inside VR & AR Gadgets
    Note to Self

    3

    Note to Self News
    BrainStuff

    4

    BrainStuff Natural Sciences
    This Week in Tech (Audio)

    5

    This Week in Tech (Audio) News
    Hands-On Tech (Audio)

    6

    Hands-On Tech (Audio) Technology
    footer-logo

    Contact Us

    Toll Free: 844-670-7747

    Links

    • Home
    • Top Charts
    • Networks
    • Apps
    • Independents Podcasts
    • Podcast Advertising
    • Podcast News
    • Contact Us
    • About Us
    • Analytics & Insights

    Stay Connected

      Privacy, Terms of Use & Our Code of Ethics Protecting Content Creators Copyrights