Hone

Color, word strength

subprogram

A self-contained part of a larger program, called on to do one task; also a smaller program run within a larger plan or initiative.

Tell

any called part, kind left open

Best when

You mean any named part of a program, or of a larger initiative, and do not need to say how it is called or what it returns.

Example

“Each subprogram is compiled separately and linked at the end.”

Branches

carries out steps when called

  • subroutine code called, run, then returned from
  • procedure the set steps for one task, in order
  • routine a fixed sequence done again and again

hands back a result

  • function purpose, working, event or mapping

belongs to an object or class

  • method a planned way of getting it done

pauses and picks up again

waits to be called on cue

  • handler deals with whatever it is given
  • callback returns to an earlier moment

part of a larger plan or initiative