value-returning programming
nounUK /ˈvæljuː rɪˈtɜːnɪŋ ˈprəʊɡræmɪŋ/
US /ˈvæljuː rɪˈtɜːrnɪŋ ˈproʊɡræmɪŋ/
Value-returning programming is when a function gives back a result you can use.
In value-returning programming, the add function returns the sum of two numbers.
SYNONYMS
RELATED WORDS
OTHER MEANINGS
2. Writing functions that send a value back to the place that called them.
She practiced value-returning programming by making a function that returns a greeting.
3. A style of coding where each step produces a usable result.
Value-returning programming helps you chain small results into bigger ones.
4. Using return statements to pass data out of a function.
The lesson on value-returning programming showed how return sends a number back.