On Tue, 17 Jul 2018 at 22:47, Christian Seberino <cseber...@gmail.com> wrote:
> When writing software in Clojure, the data structures are often the >> keystone of the codebase. When I write Clojure, I start by mapping out what >> data structures and keywords I need, and from there write functions around >> them. It's for this reason that I don't think prepend and append functions >> are particularly useful for students, as the teacher should be encouraging >> them to think *more* about the data structures they're using, not less. >> > > I presume you mean that thinking more about data structures and thinking > about computational efficiency are inseparable? You can't do the former > without the latter? > Efficiency follows in the wake of intent. For example, if you intend a collection to be unordered and unique, you could use a set. A set happens to also be efficient at checking whether an item is contained within it, but this efficiency follows from how the data is intended to be used. -- James Reeves booleanknot.com -- 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.