parameter-driven coding
noun phraseWriting computer code where you change numbers or settings to make the program do different things.
The game uses parameter-driven coding so you can change the speed by typing a new number.
RELATED WORDS
OTHER MEANINGS
2. A style of coding where a function's behavior is controlled by the values passed into it.
With parameter-driven coding, the same drawing function can make a big circle or a small circle.
3. Building software so that rules and limits are stored as settings instead of being fixed in the code.
The teacher liked parameter-driven coding because she could change the quiz time without rewriting the program.
4. A way of writing programs where changing one setting changes how the whole program works.
Parameter-driven coding let the robot change its walking speed by changing just one number.