Protocols are a very cool and very important feature in Clojure. They are a great way to build polymorphism into your software, including extending existing Java classes without modifying them.
Screencasts, Whiteboards, and Slides produced to help you learn
Curated selections of courses on a specific topic
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
This lesson teaches a pattern for using protocols called Interchangeable Parts. The lesson includes a video screen capture and code. The video lesson will take 20 minutes to watch.
This lesson teaches how to define a DSL using literal data structures and protocols. It includes a video lesson with screen capture, code in a git repo, and exercises. The video will take 20 minutes to watch, and the exercises will take 20-40 minutes to do.
This lesson deals mainly with the mechanics of protocols. How does one define a protocol, extend it, and finally use it. The video is 11 minutes long and the exercises should take 20 minutes.
This lesson teaches powerful pattern for converting types that uses protocols. The lesson is 14 minutes long and the exercise will take 20 minutes.
This lesson explains what problem protocols are meant to solve using visual aids. This video lesson is 8 minutes long.