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 361 – January 20, 2020 · Archives · Subscribe Clojure Tip 💡 trampoline your tail recursion A few issues ago, I made the big distinction in Clojure between non-tail recursion and tail recursion. Non-tail-recursion uses a stackframe per recursion, so you risk blowing the stack. You can replace tail recursion with the recur form, […]
Issue 360 – January 13, 2020 · Archives · Subscribe Clojure Tip 💡 fold left vs fold right In the last issue, I mentioned that our map implementation was doing a right fold, whereas reduce in Clojure does a left fold. This is an important distinction because although both right and left folds can calculate […]
Issue 359 – January 06, 2020 · Archives · Subscribe Clojure Tip 💡 reduce as universal recursion over a sequence We’ve been talking about recursion for a few weeks now and Ray asked about reduce as a form of universal recursion. It’s a good question. reduce is often called universal recursion, but it must be […]
Issue 358 – December 30, 2019 · Archives · Subscribe Clojure Tip 💡 recursion rollercoaster I have a confession to make. Recursion scares me. It’s like a rollercoaster every time I do it. But like a rollercoaster, if you’re prepared, it can be really fun. How do you prepare? Well, the safety harness of any […]
Issue 357 – December 23, 2019 · Archives · Subscribe Clojure Tip 💡 recursion vs iteration Astute reader and all-around awesome community member Ray asked a very important question: isn’t loop/recur recursion and not iteration? We do have some iterative constructs in Clojure. There’s dotimes and doseq and even a while loop. We also have […]
Issue 356 – December 16, 2019 · Archives · Subscribe Clojure Tip 💡 convert recursion to iteration In the last issue, I showed how to use memoization to speed up a Fibonacci calculation. I mentioned that memoization was nice because you could wrap the nice mathematical definition and achieve acceptable performance without changing your code. […]
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.