ClojureStream Podcast cover image

ClojureStream Podcast

E101 FC/IS with magnars

Apr 1, 2025
Magnar Sveen, a seasoned Clojure programmer from Norway, dives into the Functional Core, Imperative Shell (FC/IS) architecture. He explains how this pattern enhances code maintainability by separating business logic from side effects, making 85% of code pure functions. Magnar also shares insights on the importance of Datomic for data management and practical strategies for implementing FC/IS. The discussion touches on the real-world benefits, including improved error handling and REPL-driven development, along with challenges in transitioning to this modern architecture.
48:52

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • The FC/IS architecture promotes the separation of pure business logic from side effects, enhancing code maintainability and testability.
  • Magnar emphasizes the benefits of managing data flow through the imperative shell, resulting in predictable outputs and reduced error chances.

Deep dives

Magnar Sveen's Journey into Clojure

Magnar Sveen shares his journey into Clojure, which began around 2011 after he attended a developer conference featuring inspiring talks by well-known figures in the programming community. Initially focused on JavaScript, Magnar found himself captivated by Clojure's unique approach after hearing a talk on rethinking object-oriented programming. His initial experience with Clojure and Emacs developed in parallel, despite the two being linked through their Lisp heritage. This foundation ultimately led him to develop significant projects, including a text adventure game engine utilizing Clojure's capabilities.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner