>
> This still requires changing your code to @(:emails contact).  If you use 
>>> (emails contact) you need change your code in only one place. 
>>>
>>
The name "emails" implies that it's a sequence. Lazy sequence. 
 

> Property is just the OO word for function, semantically they are the same. 
> OO doesn't have functions they have properties and methods.  
>

I thought the concept similar to function in OO-world is "method". Ok, so 
if property is a function, then you want to get rid of data structures at 
all and have only functions?

Agreed, clojure has a much stronger emphasis on immutability than 
> traditional OO programming and is what I like about it... but it is 
> possible to write OO code using immutable data structures but is not as 
> idiomatic.
>

Well, it's kind of idiomatic in scala, for example. But not in clojure, yes.
 

>  I don't want clojure to be like CLOS, but I also don't think that we 
> should ignore more than 50 years of lessons learned and "SOLID" programming 
> principles.
>

SOLID is about object-oriented design. 50 years of lessons learned tell us 
that objects have failed :) 

-- 
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