Re:Julia Language Co-Creators Win James H. Wilkinson Prize f...
by yellowapple on Wednesday January 23, 2019 @04:31PM
(#18983216)
I feel like they're a significant departure from the OO concept of sending a message to an object (for example, "Foo ! bar()" in Erlang or "Foo.bar()" in a more typical OO language would be interpreted as "send message bar() to object/actor/whatever Foo"). Julia's approach is more "call this function on this object", which is indeed perfectly useful, but is semantically different.
[ Parent
| on HN ]
Re:Julia Language Co-Creators Win James H. Wilkinson Prize f...
by pjmlp on Thursday January 24, 2019 @02:54AM
(#18986782)
That OO concept is pretty much Simula specific, Lisp languages got influenced by the work done in LOOP and Flavours which lead to the design of CLOS, the origin of multi-methods idea.
Building on top of your remark, Julia's approach is more "call the visible implementation of this function that better matches the types of all given parameters".
And these are only two possible ways of doing OOP, there are a few other ways of approaching the ideas of writing extensible modular code with polyphormism.
Re:Julia Language Co-Creators Win James H. Wilkinson Prize f...
by yellowapple on Thursday January 24, 2019 @01:33PM
(#18991467)
That OO concept is also what Alan Kay et. al. were envisioning when they coined the term "object-oriented". It's all about message passing between blackboxed instances with isolated/private states. Multi-methods and such are cool and useful, but they're kinda secondary to that core concept (which Julia doesn't really have, to my knowledge at least).
In other words: object orientation != strong typing (even if they do tend to go hand-in-hand).
Re:Julia Language Co-Creators Win James H. Wilkinson Prize f...
by pjmlp on Friday January 25, 2019 @03:23AM
(#18996393)
I never said that object orientation == strong typing, rather that Smalltalk/Simula OOP isn't the only way of doing OOP.
CLOS, Beta, SELF, Oberon (the first version), Component Pascal all have explored different ways of doing OOP.