English definition
An ordered collection of values under one name.
Yoruba definition
Àkójọpọ̀ iye ní ìtòlóòtọ́ lábẹ́ orúkọ kan.
English example
Categories are stored as an array of labels.
Yoruba example
Àwọn ẹka ni a ti fipamọ́ gẹ́gẹ́ bí àtẹ̀lé àkọlé.
English analogy
Think of an array like a row of boxes, where each box holds a value and they are all lined up in order.
Yoruba analogy
Ronú nípa àtẹ̀lé gẹ́gẹ́ bí ìjò àpò, níbi tí gbogbo àpò kọọkan ní iye kan, tí wọ́n sì wa ní ìtòlóòtọ́.
English use when
Use 'array' when you want to refer to a collection of items that are indexed and ordered. Alternatives like 'list' may not imply the same structure.
Yoruba use when
Lo 'àtẹ̀lé' nígbà tí o bá fẹ́ tọ́ka sí àkójọpọ̀ àwọn nkan tí a ti ṣe àtòka àti ìtòlóòtọ́. Àwọn aṣayan bí 'àkójọpọ̀' le ma tọ́ka sí ìtòle yẹn.