Clojure Polymorphism
Clojure Polymorphism
$6.99
Minimum price
$9.99
Suggested price
Clojure Polymorphism

This book is 100% complete

Completed on 2016-10-31

About the Book

When it comes to Clojure there are many tutorials, websites, and books about how to get started (language syntax, set up a project, configure your IDE, etc.). There are also many tutorials, websites, and books about how language features work (protocols, transducers, core.async). There are precious few tutorials, websites, and books about when and how to use Clojure's features.

This is a comparative architecture class. I assume you are familiar with Clojure and even a bit proficient at it.  I will talk about Clojure's polymorphic tools.  I will use some example problems, solve them with different tools, and then pick them apart for what is good and what is bad.  There will not be one right answer, but you will learn principles about when to appropriately apply Clojure's polymorphic tools.

About the Author

Paul Stadig
Paul Stadig

I'm a professional Clojure developer living in central Virginia.

Packages

The Book
  • English

  • PDF

  • EPUB

  • MOBI

  • APP

$6.99
Minimum price
$9.99
Suggested price
Signed Copy

When you purchase this package, send me an e-mail at paul@stadig.name with your purchase ID, e-mail address, and PGP public key fingerprint, and I'll send you a cryptographically signed and encrypted PDF copy of the book!

  • English

  • PDF

  • EPUB

  • MOBI

  • APP

$7.99
Minimum price
$10.99
Suggested price
Corporate Pack

Buy 10 copies and save 10%

  • English

  • PDF

  • EPUB

  • MOBI

  • APP

$62.99
Minimum price
$89.99
Suggested price

Table of Contents

  • Introduction
  • Polymorphism
  • Service Abstraction
    • Plain Functions
    • Plain Functions + Client Namespace
    • Multimethods
    • Protocol
    • Protocol + Client Namespace
    • Protocol + Client Namespace + Multimethod
    • Analysis
    • Summary
  • Data Transformation
    • Analysis
    • Summary
  • Miscellaneous JVM Considerations
    • Performance Gotcha
    • Semantic Gotcha
    • Summary
  • Conclusion
  • Notes

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub