But I wouldn't call Julia an array programming language. Not everything is an array, there are scalars too, and vectors (vs matrices) are very special arrays that exhibit the expected duality properites (since 0.6)
It's kind of crazy to think of Matlab as not an array programming language since the array is literally the only data type.
fact(n::Integer) = prod(1:n)
But I wouldn't call Julia an array programming language. Not everything is an array, there are scalars too, and vectors (vs matrices) are very special arrays that exhibit the expected duality properites (since 0.6)
It's kind of crazy to think of Matlab as not an array programming language since the array is literally the only data type.