There's been a trend against overuse of inheritance, first with java removing multiple-inheritance and the various private/protected nuanced inheritances, then generally accepted advice like 'prefer composition over inheritance'. Some people were still feeling the pain, and some of those are now using clojure partly because of it. With the whole 'decomplecting' philosophy, we have a way to talk about why it's so.
I can just speak for myself, but finding someone defending it here is surprising. Also, clojure does have at least as many OOP trimmings as java, it's just made it easier to avoid them. When you say 'non-OOP languages that don't have classes', I don't think that includes clojure. It is a java underbelly by design, and java doesn't have open classes. Clojurescript gains some freedom via javascript's dynamic behavior, but the same abstractions (protocols) are applicable and useful there. On Mon, Dec 30, 2013 at 1:06 PM, Massimiliano Tomassoli <kiuhn...@gmail.com>wrote: > On Monday, December 30, 2013 6:46:13 PM UTC+1, tbc++ wrote: >> >> And what Cedric says is correct, encapsulation is rarely a good thing, >> and inheritance is overrated. >> > > That's your opinion, not a fact. > By saying that something is overrated you're just admitting that many > people don't agree with you. > > -- > -- > 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/groups/opt_out. > -- -- 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/groups/opt_out.