Over the last month, I've been learning clojure for my new job, and taking 
Odersky's scala course on coursera. I've been enjoying my time with clojure 
much more, but the one thing I miss from scala is the ability to document a 
data structure. It's really nice in Java/Scala to type in an object and get 
a list of methods/members that are available, instead of having to trace 
the code and/or guess.

I've seen things in clojure like defrecord, but have not seen good examples 
of if this is a good way to give some structure to my data. I don't want to 
turn clojure into an OO language, but there are times when I'm passing 
around a large map that it would be nice to be able to know what to expect.

jason

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to