rule-driven code
nounUK /ruːl ˈdrɪvən kəʊd/
US /ruːl ˈdrɪvən koʊd/
Code that follows a set of rules to decide what to do.
The game uses rule-driven code to decide when a player wins.
RELATED WORDS
OTHER MEANINGS
2. Software whose behavior is controlled by a list of if-then rules.
The chatbot's answers come from rule-driven code.
3. Programming that changes its actions based on fixed rules instead of learning.
Unlike AI, rule-driven code always does exactly what its rules say.
4. A style of coding where rules are written separately from the main program.
They stored the pricing rules in rule-driven code so they could update them easily.