Yep: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html https://docs.oracle.com/javase/7/docs/api/java/util/Vector.html
“The Vector class implements a growable array of objects. Like an array, it contains components that can be accessed using an integer index. However, the size of a Vector can grow or shrink as needed to accommodate adding and removing items after the Vector has been created.” On Saturday, October 3, 2015 at 9:32:13 AM UTC+2, Gary Verhaegen wrote: > > For people with a C/Java-style background, array typically designates a > contiguous piece of memory that has been allocated at once, is thus > fixed-size, and can be accessed randomly (i.e. by index). Vectors are > typically structures or objects at a higher level, that still present a > random-access collection, but can also for example change size. > > With that Background, Clojure's choice makes perfect sense. Please also > consider that Clojure does not use vector instead of array, but in addition > to; see make-array, geta, seta, et al. > > On Saturday, 3 October 2015, Mars0i <mars...@logical.net <javascript:>> > wrote: > >> I have no idea about the official reason, but outside of certain >> programming languages that use "array" for one-dimensional data structures, >> an array often has two (or more) dimensions. In R, for example, arrays can >> have an arbitrary number of dimensions. Honestly, when I'm away from Java >> for a while and then encounter the term "array" in Java, I have to stop and >> remember that it's 1-D, or check some documentation, because "array" >> doesn't automatically mean 1-D to me. >> >> On the other hand, I believe that vectors are always one-dimensional, as >> in linear algebra. >> >> So maybe Rich Hickey just decided that "vector" was a better, less >> ambiguous name. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.