Tutorialspoint

Clojure Polymorphism

Clojure Polymorphism

Leverage Clojure's polymorphic tools to develop your applications

price-loader

This eBook includes

Formats : PDF, EPUB, MOBI (Downlodable)

Pages : 56

ISBN : 9781838988371

Language : English

About the Book

Book description

Learn when and how to use Clojure's polymorphic features to develop efficient multithreaded applications

Key Features

  • Get to grips with the different polymorphic tools that Clojure offers
  • Develop a taste for good Clojure designs through various engaging examples
  • Study various design principles and learn ways to use them in your applications

Book Description

Clojure is a modern, dynamic language that you can use to develop robust, multithreaded programs. Clojure Polymorphism is a comprehensive guide that shows you how to use Clojure’s features to your advantage.

The book begins by describing examples that show how to define and implement abstractions with plain functions and multimethods. Then you'll analyze these examples and separate the good and bad aspects of their design principles. You'll also learn how to perform data transformation abstraction with a plain function and discover how to write new cross-platform predicates while keeping the core of your abstraction free from reader conditionals. The later chapters explain the considerations to keep in mind when implementing Clojure protocols on the Java Virtual Machine (JVM).

By the end of this book, you’ll know how to use the various polymorphic tools of Clojure to your advantage while designing your applications.

What you will learn

  • Explore how polymorphism is implemented in Clojure
  • Discover what design principles to use when creating and implementing abstractions
  • Explore different ways to implement protocols in Clojure
  • Implement various design principles while working with the JVM
  • Write and compare plain functions and multimethods for transforming data
  • Analyze functions and abstractions for their performance and flexibility
  • Learn about common “gotchas” to avoid errors when writing code

Who this book is for

Clojure Polymorphism is useful for all programmers who want to leverage Clojure’s polymorphic tools to build efficient applications. To get the most out of this book, you must be a moderately proficient Clojure programmer.

Clojure Polymorphism

eBook Preview

Author Details

Packt Publishing

Packt Publishing

Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.

Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools.

As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.

Our students work
with the Best

Related eBooks

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us

1800-202-0515