Learn these three tools — map, filter, and reduce– and you’ll be well on your way to developing a functional mindset.
Screencasts, Whiteboards, and Slides produced to help you learn
Property-Based Testing is a powerful way to test your software. This course starts where the Intermediate course left off. In this course, we learn the most powerful applications of Property-Based Testing, including parallel and distributed systems, searching for known bugs, and testing web frontends.
I get a lot of questions from people trying to learn Clojure. Sometimes, the best way to answer them is with a video. This course is for all of those questions that don’t really fit anywhere else.
Property-Based Testing is a powerful way to test your software. In this course, we learn how to use test.check, the Clojure Property-Based Testing library, to automatically generate tests.
What mysteries do Clojure macros hold? This course jumps right into macros with gusto. It starts with the key to understanding macros, takes you through the implementation of 6 progressively more complex macros, and finishes with the three reasons you *need* macros.
Sometimes we want to see how individual components are built. We want to know how to reproduce common components easily using Re-frame. In this course, we take that approach. We build individual, interactive components, going through the design decisions we have to make.
Pragmatic and in-depth guides to a topic.
When NOT to put personal projects in your resume; tips for choosing programming projects; and how to present your projects to maximize your chances.
5 functional programming ways to impress a hiring manager with your resume.
Is functional programming a fad? We cut through the buzz cycle and answer the question once and for all.
From Agents to Executors, this guide covers all of the important concepts for concurrent programming in Clojure. It includes a comprehensive catalog of concurrency primitives.
Clojure’s collections are central to Clojure programming. While in most languages, you might find collections somewhere in the standard library, in Clojure, they are front and center.
A big list of sites with Clojure job listings. If you’re looking for a job in Clojure, these are the best places to look. Includes many remote jobs.
Small, precise guides to a particular feature.
I was trained in Java at University. The OOP matrix was firmly implanted in my thinking. I wanted to share some things that I have learned from Clojure that were certainly possible in Java but never became fundamental to my programming practice. Clojure certainly has learned a lot from Java. It might be cool if […]
Schema and clojure.spec aim to solve similar problems. There are significant differences, though, that might not be obvious at first.
Clojure let is used to define new variables in a local scope. This article describes a few things you probably know about let, and a few you don’t.
clojure.set is part of the standard library that comes with Clojure. It has functions for doing set operations and relational algebra.
I go over a real-world example of how atoms and immutable values allow you to compose constructs in ways that are easy to reason about and less prone to error.
ClojureScript’s official build process is a simple shell command. There is also integration into Leiningen and Boot.
Many of the cool parts of Clojure are written in Java. That means you can access those parts from any Java code. Just include the Clojure JAR, import the classes, and you’ve got better tools.
Down on React? You should check it out from the ClojureScript perspective.
A deep-dive into a single reduce example shows how much can happen in a short bit of code.
ClojureScript has some nice DOM manipulation options, including jQuery and more idiomatic libraries.
How is it possible that Clojure is better than Java at its own game? Hear me out, then decide for yourself.
Curated selections of courses on a specific topic
Clojure can be an excellent language to learn programming. The following courses should set you on a good path for getting up to speed in Clojure. Be sure to click those checkmarks to track your progress. Start with the best introduction to Clojure out there. It gently guides you through the language with fun exercises. […]
The following sequence of courses should build up your functional programming toolkit. These will help you eliminate duplication in your code and find better abstractions.
If you’re coming to Clojure from an Object-Oriented Programming background, this page is for you. Be sure to click those checkmarks to track your progress. Start with the best introduction to Clojure out there. It gently guides you through the language with fun exercises. You’ll learn the syntax and the thought processes behind Clojure programming. […]
If you’re looking to watch absolutely all of the courses on this site, I’ve put together a suggested order. Start at the beginning and just watch everything straight through. Be sure to click those checkmarks to track your progress.
Web development is an extremely popular use for Clojure. If you want to learn web programming, here are the courses I recommend you watch. I am assuming you already are familiar with Clojure. Be sure to click those checkmarks to track your progress. Backend You’ll want to learn Ring. It is a unifying set of […]
Parts of courses on specific topics
Now that we have an efficient way of fetching ingredients, let’s handle the orders for the day.
Do you understand the pattern of using helper functions within a macro and how it can make your macro more useful and easier to understand?
This lesson teaches how to read in JSON and explore data. This lesson includes a video screencast. The screencast is 25 minutes long.
We take a look at an idealized model of the development process so that we can understand all of the places where we can make tools and practices to improve our development workflow.
test.check comes with many built-in generators that we can use to create properties and build new generators from. We take a tour of the generators provided so we have a feeling of what’s available.
What do I mean by access patterns? It’s the underlying commonality between the collections. It answers the question: How will we access our information?
PDFs, code, and other downloads to help you learn
These four reference sheets will be handy for you when you’re learning clj-refactor, the plugin for CIDER.
Overwhelmed by the number of functions in Clojure core.async? This reference sheet shows you just the essentials in an easy-to-follow format.
We tend to code using patterns that we repeat a lot. Learning these patterns can help you level up your macro skills very quickly. This reference sheet contains six annotated patterns that Clojure programmers use all the time.
Have you ever wondered what the symbols in Clojure macros do? I’m talking about `, ~, ~@, etc. This handy reference sheet tells you what they all do, when to use it, and shows examples. Never get lost in a macro again!
When we’re developing macros, it really helps to be able to see what code it will output. Fortunately, Clojure comes with three built-in functions for doing just that. They are so useful for debugging. This reference sheet shows what each one does. It also includes how to access macroexpansion in the three most popular Clojure […]
Want a handy reference for writing your tests? This cheatsheet contains everything you need to write tests, make assertions, and set up fixtures. It even shows the commands for runnings tests at the REPL.
We interviewed Adam Warski about his upcoming Lambda Days 2017 talk.
We interviewed Alex Mann about his upcoming Clojure/conj 2016 talk about machine learning in Clojure applied to the English language.
We Interviewed Alex Miller about his upcoming Euro Clojure talk called Dependency Heaven.
We Interviewed Alexey Aristov about his upcoming EuroClojure 2017 talk called otplike – Erlang/OTP processes and behaviours for Clojure.
We Interviewed Ali Shoker about his upcoming Curry On 2017 talk about There are no BFT Fans Anymore.
We interviewed Allen Rohner about his upcoming Clojure/conj 2016 talk about Spectrum, a static typing library for Clojure.
Issue 371 – March 30, 2020 · Archives · Subscribe Clojure Tip 💡 Chain map, filter, and reduce I’ve been thinking a lot lately about chaining map, filter, and reduce. After all, it’s the main topic of an upcoming chapter in my book. The challenge is how to teach it. In Clojure, we are very […]
Issue 370 – March 23, 2020 · Archives · Subscribe Quarantine update 😷 Folks, I hope this isn’t too personal, but I think more personal connection is called for these days. I have quarantined myself at home, with my two kids and wife. These are trying times. We are as safe as we can be […]
Issue 369 – March 16, 2020 · Archives · Subscribe Clojure Tip 💡 Refactoring: replace body with callback In my book on functional programming called Grokking Simplicity, I am trying to teach the idea of higher-order functions. It may come naturally to some of us, but many people are not that familiar and so need […]
Issue 368 – March 09, 2020 · Archives · Subscribe Clojure Tip 💡 Refactoring: extract calculation from action One of the most basic refactorings in functional programming is to extract out a calculation from an action. These two are the terms I’m using in my book. Calculations are pure functions, whereas actions are impure functions. […]
Issue 367 – March 02, 2020 · Archives · Subscribe Clojure Tip 💡 What about errors? So it turns out CSV parsing is not as simple as it at first appears. Last week I showed this code for converting the vectors of strings to sequence of maps: (defn rows->maps [csv] (let [headers (map keyword (first […]
Issue 366 – February 24, 2020 · Archives · Subscribe Clojure Tip 💡 Is the Clojure philosophy bad for beginners? People often ask if Clojure’s philosophy is bad for beginners, so I’d like to address it in the context that I set up in the last issue. In short, if it’s true that Clojure libraries […]
Alan Kay invented Smalltalk and Object-Oriented Programming. He reads more than a book per day. He has worked at Xerox PARC, Atari, and Apple. He’s currently the president of the Viewpoints Research Institute.