English definition
A named place that holds a value that can change.
Yoruba definition
Orúkọ ibi tí ó pa iye mọ́ tí ó sì lè yí padà.
English example
Store the search query in a variable before filtering.
Yoruba example
Fipamọ́ ìbéèrè àwárí nínú oníyípadà kí o tó ṣe àtúnṣe.
English analogy
Think of a variable like a box where you can put different items in at different times.
Yoruba analogy
Ronú nípa oníyípadà gẹ́gẹ́ bí àpò tí o lè fi ohun tó yàtọ̀ síra rẹ̀ sí i ní àkókò tó yàtọ̀.
English use when
Use 'variable' when referring to a storage location in programming that can change its value, unlike constants which remain fixed.
Yoruba use when
Lo 'oníyípadà' nígbà tí o bá n tọka sí ibi ipamọ́ nínú ìkọ̀wé tó lè yí iye rẹ̀ padà, kọ́ lóòótọ́ àwọn àtúnṣe tó dára.