Changes between Version 4 and Version 5 of Clojure Client Tutorial


Ignore:
Timestamp:
Aug 2, 2011 1:50:36 AM (13 years ago)
Author:
kedwar10
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clojure Client Tutorial

    v4 v5  
    2727Some advice for clojure programming:
    2828* 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/]].
    2930* 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).
    3031* 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.