Changes between Version 4 and Version 5 of Clojure Client Tutorial
- Timestamp:
- Aug 2, 2011 1:50:36 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Clojure Client Tutorial
v4 v5 27 27 Some advice for clojure programming: 28 28 * There is no solid way to debug clojure code, so stick to small functions that you can test in the REPL. 29 * :pre and :post conditions are excellent features of the language. Here is an example [[ http://blog.fogus.me/2009/12/21/clojures-pre-and-post/]]. 29 30 * Leiningen provides "compile" and "run" commands: NEVER USE THESE (unless you want java interop, then you must be careful to recompile the function you wish to export, before running them in the REPL). 30 31 * If you define a record in a namespace and wish to access it in another, you must explicitly import it with the ":import" keyword in your namespace declaration.