coderule

noun
UK /ˈkəʊdruːl/
US /ˈkoʊdruːl/

A rule that tells a computer what to do.

The programmer added a coderule so the game would stop when the player wins.


OTHER MEANINGS

2. A rule about how to write code in a certain style.

Our team follows a coderule that says every function must have a comment.

3. A rule that is written in code form.

The website checks each coderule before letting a user sign up.

4. A rule used to keep computer programs safe and fair.

The new coderule stops the app from sharing private data.