I read this:
Si todo va bien, el array debe estar vacío y su longitud debe ser 0.
...which is translated as this:
If all goes well, the array must be empty and its length must be 0.
Since parallels of latitude are horizontal, and meridians of longitude are vertical, it seems to that "length" corresponds more to latitude than longitude, at least in this sense. e.g., the string (group of characters) "platypus" has a length of eight, and stretches horizontally, from "p" to "s".
Is there some historical or etymological reason why a vertical dimension (longitude) is a word for something which seems logically to be horizontal?
To be more specific with the sentence given, I envision an array as being laid out like so:
p, l, a, t, y, p, u, s
...not like this:
p l a t y p u s
Am I right to be confused, or viewing this askew?