Return
Meaning in software engineering, with examples
In software engineering, return means: To end a function and send a value back to the code that called it, for example when a password check gives back true or false.
In Turkish: döndürmek, geri döndürmek, sonuç vermek
How it is used
Used all the time when describing code: 'it returns null', 'it returns a list of users'. The noun 'return value' is common too. 'Return early' means leaving a function as soon as a condition is met, to avoid deeply nested code.
Example sentences
If the user isn't found, the method returns null instead of throwing an error.
You can return early here and skip the whole else block.
Common collocations
- return a value
- return null
- return early
- return value
- return type
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: Programming Concepts
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
