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 385 – July 06, 2020 · Archives · Subscribe Clojure Tip 💡 two map patterns: entity vs index In Clojure, we tend to use hash maps a lot. But we use them in two very distinct patterns—as an entity and as an index. The entity pattern is where we store information about a thing […]
Issue 384 – June 29, 2020 · Archives · Subscribe Clojure Tip 💡 name your callbacks Let’s say you’re using some anonymous functions in your maps and filters. Here’s some code. (->> customers (filter #(>= (count (:purchases %)) 3)) ;; only customers with 3+ purchases (map #(apply max-key :total (:purchases %)))) ;; get biggest purchase […]
Issue 383 – June 22, 2020 · Archives · Subscribe Clojure Tip 💡 replace body with callback Last week I talked about a refactoring from my book Grokking Simplicity. I mentioned that I found three refactorings that were super applicable. Well, I miscounted. There are only two! This week, we’ll talk about the second one. […]
Issue 382 – June 15, 2020 · Archives · Subscribe Clojure Tip 💡 express implicit argument In Grokking Simplicity (my book about functional programming), I wanted to teach about first-class functions and higher-order functions. One of the important skills of functional programmers is to remove duplication between two functions by creating a higher-order version of […]
Issue 381 – June 08, 2020 · Archives · Subscribe Police brutality has to stop ⚖️ All 50 United States are rising up in grief and anger after the brutal murder of George Floyd. And much of the world is demonstrating in solidarity. No Clojure in this issue. There’s too much at stake. Black people […]
Issue 380 – June 01, 2020 · Archives · Subscribe Clojure Tip 💡 what can you iterate through? I was helping a friend solve a coding challenge the other day and I quickly found a linear algorithm when he was sure it had to be quadratic. The key was that there were two collections. If […]
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.