codingrule

noun
UK /ˈkəʊdɪŋ ruːl/
US /ˈkoʊdɪŋ ruːl/

A coding rule is a simple instruction that tells a computer program how to work.

The teacher said every coding rule must be written clearly so the robot knows what to do.


OTHER MEANINGS

2. A rule that people who write computer code agree to follow.

One coding rule says to give every variable a clear name.

3. A rule inside a game or puzzle that is written in code.

The secret coding rule made the door open only when you typed the right word.

4. A rule that keeps computer code safe and easy to read.

Following the coding rule helped the team find mistakes quickly.