Chapter 11. Troubleshooting and Best Practices

By now, you must be aware of all the features and most of the constructs of the Clojure language. Before you start building your own applications and libraries in Clojure, we will briefly discuss a few techniques to troubleshoot your code and some practices that you should incorporate in your projects.

Debugging your code

Along your journey of building applications and libraries in Clojure, you'll surely run into situations where it would be helpful to debug your code. The usual response to such a situation is to use an Integrated Development Environment (IDE) with a debugger. And while Clojure IDEs such as CIDER (https://github.com/clojure-emacs/cider) and Counterclockwise (http://doc.ccw-ide.org

Get Clojure: High Performance JVM Programming 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.