Why do we use arrays instead of other data structures?

As I was programming, I haven’t seen an instance where an array is better for storing information than another form thereof. I had indeed figured the added “features” in programming languages had improved upon this and by that replaced them. I see now that they aren’t replaced but rather given new life, so to speak.

So, basically, what’s the point of using arrays?

This is not so much why do we use arrays from a computer standpoint, but rather why would we use arrays from a programming standpoint (a subtle difference). What the computer does with the array was not the point of the question.

4 Answers
4

Leave a Comment