News for hackers. Stuff that matters.
Re:The Beauty of Clojure by icebraining on Wednesday August 26, 2015 @10:19AM (#10123019)
But (conceptually) the "." in most OO languages is something that is part of the object it's being applied to, while the -> is something external that one applies to the subsequent expressions. At least, this is what I perceive by looking at the code, and in my opinion, the two concepts don't map intuitively.
Re:The Beauty of Clojure by AnimalMuppet on Wednesday August 26, 2015 @01:17PM (#10124508)
No (at least not in one specific OO language, namely C++).

"foo->" means exactly the same thing as "(*foo)." That is, you use "." when you have an object, and "->" when you have a pointer to an object.

I don't know of any other OO language that uses "->". If there is one, my comments here probably do not apply to it...

(Or were you talking about the "." as used in OO, compared with the "->" as used in Clojure? If so, disregard this comment...)

Re:The Beauty of Clojure by icebraining on Wednesday August 26, 2015 @01:35PM (#10124649)
(Or were you talking about the "." as used in OO, compared with the "->" as used in Clojure? If so, disregard this comment...)

I'm afraid I was :)