function-based coding
nounUK /ˈfʌŋkʃən beɪst ˈkəʊdɪŋ/
US /ˈfʌŋkʃən beɪst ˈkoʊdɪŋ/
Function-based coding is a way of writing computer programs by making small named helpers that each do one job.
In function-based coding, we put the drawing steps inside a function called drawCat.
RELATED WORDS
OTHER MEANINGS
2. A style of coding where the main building blocks are reusable functions rather than long lists of steps.
The teacher showed how function-based coding keeps programs short and easy to fix.
3. Writing code so that each function takes inputs and gives back an output without changing other parts of the program.
Our robot game uses function-based coding, so each move is its own little function.
4. Organizing a program around named actions that can be called many times.
With function-based coding, we wrote jump() once and used it everywhere.