3 ms·
We only apply that to strings though. float[] isn't a string of floats. And lots of languages have strings that aren't arrays of chars too, so I don't really th
by girvo 5y ago
We only apply that to strings though. float[] isn't a string of floats. And lots of languages have strings that aren't arrays of chars too, so I don't really think that's it either.
Where does string come from. How odd.
- housecarpenter 5y agoYou do still hear people speaking of a string of bits, as well as a string of characters. I think the word "array" tends to be preferred for lists of numbers, since in its original sense in mathematics it was (and is) a synonym for "matrix". For lists of arbitrary objects I guess "array" won out by random chance, more or less.
- girvo 5y agoReally? Fascinating. I’ve not heard anyone call them that in my 20+ years of programming!