Chapter 7.  Advanced Tips

In this chapter, we will cover the following topics:

  • Hacking the Clojure code
  • Using Reader Conditionals, compile to Clojure, and ClojureScript
  • Real-time shared development with an REPL
  • Declarative data descriptions and validations with plumatic/schema

Introduction

We will learn more advanced tips in this chapter. First we will hack the Clojure code to understand how Clojure code works. We will generate class files from Clojure code and then decompile Java code. Understanding how Clojure code is a lot of fun and useful.

Next, we will look at how to write source code that keeps the compatibility between Clojure and ClojureScript and runs on both environments. As ClojureScript is getting more popular nowadays, single code running ...

Get Clojure Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.