Field access works just fine with extend. On Tuesday, May 22, 2012, nicolas.o...@gmail.com wrote:
> > Everyone just reiterates the mantra “It's slower! It's slower! It's > > slower!”, but no one talks about the trade-offs. And I bet only a very > > small fraction ever checked what “slower” means in their specific use > > case. > > I think the whole thread is about the trade-off: some people complains > that deftype lacks features. > Another problem with extend is that you can't access your instance > variables with > it. And so you end up creating fake Protocols for that, which is even > worse than a big deftype. > > -- > 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<javascript:;> > 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 <javascript:;> > 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 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