3 ms·
> Would they be considered array languages? No. Is like claim "C" is a OO language. Is more correct to say it have "array capabilities". To be considered an "
by mamcx 9y ago
> Would they be considered array languages?
No. Is like claim "C" is a OO language. Is more correct to say it have "array capabilities".
To be considered an "X" language it must that "X" be the most primitive/idiomatic/natural/default way to think and program on that. And also a primitive of the language!
You can do OO on SQL, but that is hardly the idea!
Similar, with a array language you see everything as arrays and as array manipulation and rarely deviate from that. This is the same on other languages.
Even in multi-paradigm languages like python or C# maybe you put a little functional here or linq there but that portion of the code seriously look "alien"
- gugagore 9y agoI think I'll disagree mildly. In "slow" languages like MATLAB and Python/NumPy, often the most performant way to do computation is array primitives. So much so that the style becomes idiomatic over, say, for loops.
- disgruntledphd2 9y agoI think that it's intuitive for people working with large datasets/numerical data, and not otherwise. You can cheerfully write loops in Python for most problems, except the set of problems solved by Numpy. Mind you, I cut my teeth on R, so needing to use loops in other languages confused the hell out of me at first.