Changes between Version 51 and Version 52 of Clojure Client Tutorial


Ignore:
Timestamp:
Aug 8, 2011 3:25:46 PM (13 years ago)
Author:
kedwar10
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clojure Client Tutorial

    v51 v52  
    3030Some advice for clojure programming:
    3131* There is no solid way to debug clojure code, so stick to small functions that you can test in the REPL.
    32 * :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].
     32* :pre and :post conditions can be used to put constraints on functions.  Here is an example [http://blog.fogus.me/2009/12/21/clojures-pre-and-post].
    3333* 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).
    3434* 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.