Origin: Latin prefix sub-
Subroutine has 2 different meanings across 1 category:
a set sequence of steps, part of larger computer program
"The developer spent hours debugging the subroutine that calculates payroll taxes before the entire system could launch."
A section of code, called by the main body of a program, that implements a task.
"The developer added a new subroutine to handle user authentication before loading the rest of the application."