English definition
A constant is a value that does not change during the execution of a program. It is often used in programming to represent fixed values that remain the same throughout the program's lifecycle.
Yoruba definition
Iye to wa titi jẹ́ iye tí kò yipada nígbà tí a bá ń ṣiṣẹ́ eto kan. A máa n lo ó ní ìtẹ́sọ́rọ̀ láti ṣàpèjúwe àwọn iye tó wa titi láti ìbẹ̀rẹ̀ títí dé ìparí eto náà.
English example
In programming, a constant can be used to store the value of pi.
Yoruba example
Ní ìtẹ́sọ́rọ̀, a lè lo iye to wa titi láti fipamọ́ iye pi.
English analogy
Think of a constant like a street address that never changes, while other details like the occupants may vary.
Yoruba analogy
Ro iye to wa titi gẹ́gẹ́ bí àdírẹ́sì ọ̀nà tí kò yipada, nígbà tí àwọn àlàyé míì bíi àwọn olùgbé lè yí padà.
English use when
Use 'constant' when referring to fixed values in programming. Alternatives may include 'variable' for values that can change.
Yoruba use when
Lo 'iye to wa titi' nígbà tí o bá n tọka sí àwọn iye to wa titi nínú ìtẹ́sọ́rọ̀. Àwọn aṣáájú le jẹ 'iyipada' fún àwọn iye tó lè yí padà.