Subroutine

Noun · Development

Definitions

  1. A named, reusable block of instructions that performs a specific task, callable from multiple points in a program, known variously as a function, procedure, or method depending on the language.

    In plain English: A chunk of code with a name that you can call whenever you need it, instead of writing the same code over and over.

    Example: "The FORTRAN code had a CALL to a subroutine that computed eigenvalues."

Related Terms