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 388 – July 27, 2020 · Archives · Subscribe Clojure Tip 💡 further down (or it is up?) the stack Last week we wrote a function for doing a depth-first search using our own stack. Here is the code. (defn dfs-stack [value node] (loop [branches (list node)] ;; lists act like stacks (if (empty? […]
Issue 387 – July 20, 2020 · Archives · Subscribe Clojure Tip 💡 to stack or not to stack One of the cool things about recursion in functional languages is that you get an implicit stack for free. It’s just the regular call stack. But sometimes you will want to use your own stack. Here’s […]
Issue 386 – July 13, 2020 · Archives · Subscribe Clojure Tip 💡 factoring equations in code Once in college we had to write a simple function that computed a simple formula. I don’t remember exactly what it was, but it was something like this: 2x + 2 y + z Now, being 18 and […]
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 […]
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.