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.

Want this course?

Team License

$200
  • HD Download
  • Watch Online
  • Lifetime Access
  • For your company

Download License

$24
  • HD Download
  • Watch Online
  • Lifetime Access
  • For an individual

Online License

$18
  • Watch Online
  • Lifetime Access
  • For an individual

Membership

$49/mo
  • HD Downloads
  • Watch Online
  • Full access
  • All Content
  • For an individual
Get access

Love it or leave it guarantee

If you don't learn as much from this course as you thought, just ask for a refund within 30 days and I'll give you your money back.

Clojure Protocols

Lessons

Video time: 01h13m

0 / 5

What Problems do Clojure Protocols Solve?
  • 8 min
  • free

This lesson explains what problem protocols are meant to solve using visual aids. This video lesson is 8 minutes long.

How to define protocols
  • 11 min

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.

Protocols for Easy Type Conversion
  • 15 min

This lesson teaches powerful pattern for converting types that uses protocols. The lesson is 14 minutes long and the exercise will take 20 minutes.

Defining a DSL with Protocols
  • 21 min

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.

Building a Component Clone
  • 19 min

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.