subroutine
Callable code block
A subroutine is a sequence of instructions within a computer program that performs a specific task, packaged as a unit that can be called from elsewhere in the code.
The term emphasizes reusability—write the routine once, use it many times.
Also called a function, procedure, or method depending on the programming language: The subroutine handles all the error checking.
Purpose or duty
- procedurePrescribed sequence of actions
- methodOrderly way of doing
- callContact by phone
- parameterBoundary-setting factor
argument · return · module · subprogram · block · execution · loop · iteration
Guidance for action
- registerRecord officially; vocal range
- mnemonicTechnique for retention
- jumpPropel oneself airborne
- callContact by phone
return · stack · assembler · machine-code · BIOS · microcode · operand · linker
Element of a system
- unitIndividual part or measure
- reusableFit for repeated service
- segmentDistinct part of whole
- blockSolid mass, or impede
element · modularity · encapsulation · interchangeable · plug-and-play · integration · composite · structure
Prescribed sequence of actions
- repetitionAct of redoing
- sequenceOrdered succession of elements
- patternRecurring arrangement or template
- protocolPrescribed conduct rules
standardization · automation · scheduling · batch · systematic · workflow · task · process
function
Purpose or duty
parameter · argument · return · module · subprogram · block · execution · loop · iteration · variable
instruction
Guidance for action
call · return · stack · assembler · machine-code · BIOS · microcode · operand · linker · low-level
component
Element of a system
block · element · modularity · encapsulation · interchangeable · plug-and-play · integration · composite · structure · configurable
procedure
Prescribed sequence of actions
- repetitionAct of redoing
- sequenceOrdered succession of elements
- patternRecurring arrangement or template
protocol · standardization · automation · scheduling · batch · systematic · workflow · task · process · script
- softwaresoftware, app, apps, application, program
- "Sub-" wordssubway, submarine, subtract, subject, suburb
- flowchartsflowchart, arrow, symbol, connector, start
- functionslinear function, function, quadratic function, polynomial function, exponential function
- tech jargonAPI, app, backend, bug, cache
- system componentsmodule, component, subsystem, unit, controller
subroutinemain function
Chief operational role
entry point · caller · kernel · supervisor · operating system