subroutine
Translation
subroutine, procedure, function
Examples
The programmer is writing a new subroutine.
The programmer is writing a new subroutine.
This subroutine validates the user's input.
This subroutine validates the user's input.
Grammar Patterns
a subroutine ((to do sth.)) a set of instructions to perform a task We need a subroutine to validate the input.
Similar Words
Synonyms: function, procedure, subprogram, module
Etymology
From 'sub-' (under, part of) + 'routine' (a sequence of instructions). A routine that is part of a larger program.
Memory Tips
Think of it as a 'sub-part' of a main computer 'routine' or program, designed to perform a specific task.