repeatingcode

noun
UK /rɪˈpiːtɪŋ kəʊd/
US /rɪˈpiːtɪŋ koʊd/

Code that does the same thing over and over again.

The robot moved in a circle because of the repeating code.


OTHER MEANINGS

2. A section of a program that runs multiple times until a condition is met.

The repeating code kept checking the sensor until the door opened.

3. A pattern in a message or signal that appears again and again.

The radio sent a repeating code to keep the connection alive.

4. A set of instructions copied and used again in different parts of a project.

She stored the repeating code in a function to save time.