On Jan 17, 2015, at 3:04 PM, Matching Socks <phill.w...@gmail.com> wrote:
> And defstruct has not been deprecated in the API documentation.

Technically true but when you see comments like these out there it’s reasonable 
to assume that structs should be avoided:

"We intentionally omit ... struct-maps, which are deprecated"
-- Prismatic Engineering Practices
-- 
https://github.com/Prismatic/eng-practices/blob/master/clojure/20130926-data-representation.md#data-types

"I consider structs to be effectively deprecated so I don't use them at all."
-- Alex Miller
-- 
http://stackoverflow.com/questions/4575170/where-should-i-use-defrecord-in-clojure/4576143#4576143

"Incidentally, unless you need to stick to Clojure 1.1, you might want to use 
1.2's defrecord in preference to defstruct -- in fact, the latter is deprecated 
in 1.2."
-- Michał Marczyk
-- 
http://stackoverflow.com/questions/4288360/clojures-macro-define-a-binding-whose-name-is-composed-from-an-argument/4288738#4288738

Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)



-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to