programmingrule

noun
UK /ˈprəʊ.ɡræm.ɪŋ ruːl/
US /ˈproʊ.ɡræm.ɪŋ ruːl/

A programming rule is a rule that tells a computer program what it can and cannot do.

The programmer followed every programming rule so the game would work correctly.


OTHER MEANINGS

2. A rule that says how a program should be written, like keeping it neat and easy to read.

One programming rule says to give variables clear names.

3. A rule inside a program that decides what happens when certain things occur.

The game has a programming rule that gives you a point when you catch the star.

4. A rule that limits what a program is allowed to do for safety.

A programming rule stops the app from sharing your private information.