4 ms·
It seems to me that the author should be using Julia. There's not much comparison with encapsulation because Julia isn't exactly object-oriented in the sense t
by notthemessiah 9y ago
It seems to me that the author should be using Julia.
There's not much comparison with encapsulation because Julia isn't exactly object-oriented in the sense that objects have methods, instead methods have types that are deployed with multiple-dispatch.
Julia provides first-class support for anonymous functions:
function (x)
x^2 + 2x - 1
end
Julia also provides full macros for metaprogramming.
And you also get a type-annotation system and type inference. Newer releases also add support for return types.
- jhasse 9y agoToo bad Julia is focusing on numerical computing and not trying to be a general purpose language like Python.