News for hackers. Stuff that matters.
Re:Crystal 1.0 – What to expect by ksec on Tuesday March 23, 2021 @05:47AM (#26552970)
And Julia as well.
Re:Crystal 1.0 – What to expect by forgotpwd16 on Tuesday March 23, 2021 @08:48AM (#26554366)
Julia if anything is unlike Ruby. The very first Ruby example on the official site showcases its object-oriented nature. Julia instead of objects has multiple dispatch.
Re:Crystal 1.0 – What to expect by cbkeller on Tuesday March 23, 2021 @09:00PM (#26562292)
On one hand you're absolutely correct in that Julia is dispatch-oriented, and doesn't have ton in common with what is commonly considered OOP today.

However, as far as I understand it there is also an argument to be made that multiple dispatch is at least as close to Alan Kay’s original intent for OO (e.g. [1]) than is the currently-ubiquitous class-based version of OO that leads to things like `RequestProcessorFactoryFactory` s with `RequestProcessorFactoryFactory.getRequestProcessorFactory(Class)` methods.

[1] https://medium.com/javascript-scene/the-forgotten-history-of...