Clojure sequences are lazy by default. That gives you big benefits like separation of concerns, but it also brings with it some gotchas. This course is mostly about exploring those gotchas–problems that can bite you if you’re not ready for them–and techniques to work with each one. Being prepared is the best antidote to a bad bite. After dealing with the downsides, we explore the big benefits.
Screencasts, Whiteboards, and Slides produced to help you learn
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. […]
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.
Parts of courses on specific topics
How to use *print-length* to avoid printing very long lists. This lesson includes a video screencast and an exercise. The video is 3 minutes long.
This lesson teaches the care needed when mixing effects and laziness, as well as what chunking is. This lesson includes a video screencast with slides and exercises. The video is 5 minutes long, and the exercises might take 10 minutes.
Got an out of memory error? It could be a common gotcha with lazy sequences. A screencast and some code are included. The video is 8 minutes long.
This lesson teaches how to check the length of all sequences, including infinite ones. It includes a screencast and some sample code. The video is four minutes long.
This lesson teaches the biggest benefit of lazy sequences, which is of separating the concerns of how to generate elements from what to do with them. This lesson includes a video screencast. This lesson includes a video screencast.
This lesson introduces lazy sequences. This lesson includes a video with visual aids. The video lesson is 6 minutes long.